Skip to content

Commit

Permalink
Fix "Remember me" not working with two-factor authentication (#389)
Browse files Browse the repository at this point in the history
Fix "Remember me" not working with two-factor authentication
  • Loading branch information
axeloz authored and REBELinBLUE committed Sep 4, 2018
1 parent a4a8981 commit f793de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function showTwoFactorAuthenticationForm()
public function twoFactorAuthenticate(Request $request, Translator $translator)
{
$user_id = $this->session->pull('2fa_user_id');
$remember = $this->session->pull('2fa_login_remember');
$remember = $this->session->pull('2fa_remember');

if ($user_id) {
$auth = $this->guard();
Expand Down

0 comments on commit f793de2

Please sign in to comment.