Stuff
This commit is contained in:
parent
dc778921c1
commit
915ce95828
|
@ -18,7 +18,7 @@ class AuthMiddleware
|
||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
if(Auth::check()) {
|
if(!Auth::check()) {
|
||||||
return redirect("/login");
|
return redirect("/login");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue