mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
Убраны разрознености в ошибках, скорреткированы тесты
This commit is contained in:
1 parent
73d07f355a
commit
4614cf8fe7
8 files changed
+11
-11
No files matched your search
@@ -69,7 +69,7 @@ class AuthenticationController extends Controller {
|
||||
'errors' => $this->normalizeModelErrors($model->getErrors()),
|
||||
];
|
||||
|
||||
if (ArrayHelper::getValue($data['errors'], 'login') === 'error.email_frequency') {
|
||||
if (ArrayHelper::getValue($data['errors'], 'login') === 'error.recently_sent_message') {
|
||||
$emailActivation = $model->getEmailActivation();
|
||||
$data['data'] = [
|
||||
'canRepeatIn' => $emailActivation->canRepeatIn(),
|
||||
|
||||
Reference in new issue
Block a user