New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix flash message #485
fix flash message #485
Conversation
config/locales/devise.ru.yml
Outdated
@@ -1,5 +1,9 @@ | |||
ru: | |||
devise: | |||
correct_errors: "Пожалуйста исправте ошибки:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
опечатка
config/locales/devise.ru.yml
Outdated
failure: | ||
user: | ||
banned: "Вы были забанены" | ||
not_found_in_database: Нет пользователя с такой почтой |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
с точки зрения безопасности не очень верно такое сообщать, потому что могут начать брутфорсить. Можно также указать, что пас/логин неверный
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
На сколько я помню Devise дает 20-30 попыток, а потом лочит аккаунт)
config/locales/devise.ru.yml
Outdated
failure: | ||
user: | ||
banned: "Вы были забанены" | ||
not_found_in_database: Нет пользователя с такой почтой | ||
invalid: Не правельный логин или пароль. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
опечатка. Проверь текст по какому-нибудь сервису.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Поправил)
No description provided.