mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Исправлена инициализация ChangeUsernameForm в форме подтверждения E-mail
This commit is contained in:
		@@ -43,7 +43,7 @@ class ConfirmEmailForm extends ApiForm {
 | 
			
		||||
            throw new ErrorException('Unable activate user account.');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $changeUsernameForm = new ChangeUsernameForm();
 | 
			
		||||
        $changeUsernameForm = new ChangeUsernameForm($account);
 | 
			
		||||
        $changeUsernameForm->createEventTask($account->id, $account->username, null);
 | 
			
		||||
 | 
			
		||||
        $transaction->commit();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user