mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
It's called a route [skip ci]
This commit is contained in:
@@ -32,10 +32,10 @@ class Authenticate
|
|||||||
return redirect()->guest('login');
|
return redirect()->guest('login');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (intval(Auth::user()->blocked) === 1) {
|
// if (intval(Auth::user()->blocked) === 1) {
|
||||||
Auth::guard($this->getGuard())->logout();
|
// Auth::guard($this->getGuard())->logout();
|
||||||
return redirect()->guest('login');
|
// return redirect()->guest('login');
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
return $next($request);
|
return $next($request);
|
||||||
|
|||||||
Reference in New Issue
Block a user