Apply fixes from StyleCI (#293)
This commit is contained in:
parent
c7d48d73c1
commit
2290118a0d
1 changed files with 0 additions and 2 deletions
|
@ -156,7 +156,6 @@ class LoginController extends Controller
|
||||||
return redirect()->route('auth.login');
|
return redirect()->route('auth.login');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (! is_null($request->input('2fa_token')) && $G2FA->verifyKey($user->totp_secret, $request->input('2fa_token'), 1)) {
|
if (! is_null($request->input('2fa_token')) && $G2FA->verifyKey($user->totp_secret, $request->input('2fa_token'), 1)) {
|
||||||
Auth::login($user, $request->has('remember'));
|
Auth::login($user, $request->has('remember'));
|
||||||
|
|
||||||
|
@ -168,5 +167,4 @@ class LoginController extends Controller
|
||||||
return redirect()->route('auth.login');
|
return redirect()->route('auth.login');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue