Write RememberMe cookie only after 2FA has been validated

This commit is contained in:
Frédéric Guillot
2021-04-04 17:30:33 -07:00
committed by fguillot
parent b08760c5fc
commit 31ce583743
4 changed files with 11 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ class UserSession extends Base
*
* @access public
*/
public function validatePostAuthentication()
public function setPostAuthenticationAsValidated()
{
session_set('postAuthenticationValidated', true);
}