forked from Alex/Pterodactyl-Panel
Apply fixes from StyleCI (#293)
This commit is contained in:
parent
c7d48d73c1
commit
2290118a0d
@ -156,7 +156,6 @@ class LoginController extends Controller
|
||||
return redirect()->route('auth.login');
|
||||
}
|
||||
|
||||
|
||||
if (! is_null($request->input('2fa_token')) && $G2FA->verifyKey($user->totp_secret, $request->input('2fa_token'), 1)) {
|
||||
Auth::login($user, $request->has('remember'));
|
||||
|
||||
@ -168,5 +167,4 @@ class LoginController extends Controller
|
||||
return redirect()->route('auth.login');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user