Apply fixes from StyleCI (#293)

This commit is contained in:
Dane Everitt 2017-02-12 15:17:14 -05:00 committed by GitHub
parent c7d48d73c1
commit 2290118a0d

View file

@ -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');
} }
} }
} }