mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +02:00
Fix redirect after logout
This commit is contained in:
@@ -17,6 +17,6 @@ class LogoutAction extends BaseAction
|
|||||||
event(new UserLoggedOut($user));
|
event(new UserLoggedOut($user));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->withForgetCookie($this->redirectTo(''));
|
return $this->withForgetCookie($this->redirectTo('/'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user