mirror of
https://github.com/flarum/framework.git
synced 2025-05-17 20:02:32 +08:00
Fix redirect after logout
This commit is contained in:
parent
ed79f7c4ea
commit
82ccf28072
@ -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('/'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user