mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Make default user a guest
The way it should be. Now maybe I’ll be forced to get a move-on with auth :D
This commit is contained in:
@@ -103,8 +103,7 @@ class User extends Entity /*implements UserInterface, RemindableInterface*/
|
||||
|
||||
if (Auth::guest()) {
|
||||
if (! isset($current)) {
|
||||
// $current = new Guest;
|
||||
$current = User::find(1);
|
||||
$current = new Guest;
|
||||
}
|
||||
return $current;
|
||||
}
|
||||
|
Reference in New Issue
Block a user