Remove the previous user hashed password

This commit is contained in:
Ivan Nieto Vivanco 2022-09-06 18:43:35 -05:00
parent e86e96e159
commit 3aff97ace1

View file

@ -473,6 +473,11 @@ class LoginController extends Controller
}
$request->session()->regenerate(true);
if ($request->session()->has('password_hash_'.Auth::getDefaultDriver())){
$request->session()->remove('password_hash_'.Auth::getDefaultDriver());
}
Auth::logout();
if (! empty($sloRedirectUrl)) {