This commit is contained in:
Kekskurse 2021-02-08 00:12:24 +01:00
parent dc778921c1
commit 915ce95828
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class AuthMiddleware
*/
public function handle($request, Closure $next)
{
if(Auth::check()) {
if(!Auth::check()) {
return redirect("/login");
}