Stuff
This commit is contained in:
parent
dc778921c1
commit
915ce95828
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class AuthMiddleware
|
|||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if(Auth::check()) {
|
||||
if(!Auth::check()) {
|
||||
return redirect("/login");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue