Убраны разрознености в ошибках, скорреткированы тесты

This commit is contained in:
ErickSkrauch committed 2016-06-16 22:36:52 +03:00
1 parent 73d07f355a
commit 4614cf8fe7
8 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -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(),