Permalink
Browse files

Fix "Remember me" not working with two-factor authentication (#389)

Fix "Remember me" not working with two-factor authentication
  • Loading branch information...
axeloz authored and REBELinBLUE committed Sep 4, 2018
1 parent a4a8981 commit f793de21c8beeaf370061e6650eacabb7b8e1cb6
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/Http/Controllers/Auth/LoginController.php
@@ -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();

0 comments on commit f793de2

Please sign in to comment.