Remove the previous user hashed password
This commit is contained in:
parent
e86e96e159
commit
3aff97ace1
1 changed files with 5 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue