mirror of
https://github.com/elyby/accounts.git
synced 2026-05-02 04:03:56 +05:30
Метод save на модели Accounts теперь вызывается без аргумента false, т.к. из модели были удалены валидаторы
This commit is contained in:
@@ -31,7 +31,7 @@ class ConfirmEmailForm extends KeyConfirmationForm {
|
||||
throw new ErrorException('Unable remove activation key.');
|
||||
}
|
||||
|
||||
if (!$account->save(false)) {
|
||||
if (!$account->save()) {
|
||||
throw new ErrorException('Unable activate user account.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user