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:
Toby Zerner 2015-01-21 12:16:54 +10:30
parent 0b2f645d2a
commit 6751cb2bea

View File

@ -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;
}