mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Отключаем валидацию для форм, где не участвуют email и username
This commit is contained in:
		| @@ -52,7 +52,7 @@ class RecoverPasswordForm extends KeyConfirmationForm { | ||||
|                 throw new ErrorException('Unable remove activation key.'); | ||||
|             } | ||||
|  | ||||
|             if (!$account->save()) { | ||||
|             if (!$account->save(false)) { | ||||
|                 throw new ErrorException('Unable activate user account.'); | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user