This commit is contained in:
Kekskurse 2021-02-08 00:12:24 +01:00
parent dc778921c1
commit 915ce95828

View file

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