mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Реализована форма восстановления пароля от аккаунта
Логика проверки пароля вынесена в отдельный валидатор В composer.json докинута зависимость от php7
This commit is contained in:
		@@ -23,4 +23,13 @@ class AuthenticationRoute extends BasePage {
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function recoverPassword($key = null, $newPassword = null, $newRePassword = null) {
 | 
			
		||||
        $this->route = ['authentication/recover-password'];
 | 
			
		||||
        $this->actor->sendPOST($this->getUrl(), [
 | 
			
		||||
            'key' => $key,
 | 
			
		||||
            'newPassword' => $newPassword,
 | 
			
		||||
            'newRePassword' => $newRePassword,
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user