user stuff

This commit is contained in:
2018-11-02 07:44:32 -05:00
parent 8972b2e523
commit b2b14b32d1
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -14,7 +14,8 @@ class Authenticate extends Middleware
*/
protected function redirectTo($request)
{
return route('/');
if(!Auth::check()){
return route('/');
}
}
}