Skip to content

Commit fb3f45a

Browse files
committed
add method for marking password confirmed
1 parent 9acf059 commit fb3f45a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Session/Store.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,16 @@ public function setPreviousUrl($url)
637637
$this->put('_previous.url', $url);
638638
}
639639

640+
/**
641+
* Specify that the user has confirmed their password.
642+
*
643+
* @return void
644+
*/
645+
public function passwordConfirmed()
646+
{
647+
$this->put('auth.password_confirmed_at', time());
648+
}
649+
640650
/**
641651
* Get the underlying session handler implementation.
642652
*

0 commit comments

Comments
 (0)