Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Logs the current user out.
- *
- * @return SymfonyComponentHttpFoundationRedirectResponse
- * A redirection to home page.
- */
- public function logout() {
- user_logout();
- return $this->redirect('<front>');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement