Skip to content

Commit 21fd6c0

Browse files
Set password_confirmed_at on login (#208)
* Set `password_confirmed_at` on login * Update AuthenticatesUsers.php Co-authored-by: Taylor Otwell <[email protected]>
1 parent 559be09 commit 21fd6c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

auth-backend/AuthenticatesUsers.php

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function login(Request $request)
4444
}
4545

4646
if ($this->attemptLogin($request)) {
47+
$request->session()->put('auth.password_confirmed_at', time());
48+
4749
return $this->sendLoginResponse($request);
4850
}
4951

0 commit comments

Comments
 (0)