Skip to content

Commit 2290118

Browse files
authored
Apply fixes from StyleCI (pterodactyl#293)
1 parent c7d48d7 commit 2290118

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/Http/Controllers/Auth/LoginController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ public function totpCheckpoint(Request $request)
156156
return redirect()->route('auth.login');
157157
}
158158

159-
160159
if (! is_null($request->input('2fa_token')) && $G2FA->verifyKey($user->totp_secret, $request->input('2fa_token'), 1)) {
161160
Auth::login($user, $request->has('remember'));
162161

@@ -168,5 +167,4 @@ public function totpCheckpoint(Request $request)
168167
return redirect()->route('auth.login');
169168
}
170169
}
171-
172170
}

0 commit comments

Comments
 (0)