mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Убраны разрознености в ошибках, скорреткированы тесты
This commit is contained in:
@@ -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