mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Translate all code comments from Russian to English [skip ci]
This commit is contained in:
@ -116,14 +116,14 @@ class RegistrationForm extends ApiForm {
|
||||
}
|
||||
|
||||
/**
|
||||
* Метод проверяет, можно ли занять указанный при регистрации ник или e-mail. Так случается,
|
||||
* что пользователи вводят неправильный e-mail или ник, после замечают это и пытаются вновь
|
||||
* выпонить регистрацию. Мы не будем им мешать и просто удаляем существующие недозарегистрированные
|
||||
* аккаунты, позволяя им зарегистрироваться.
|
||||
*
|
||||
* @param array $errors массив, где ключ - это поле, а значение - первая ошибка из нашего
|
||||
* стандартного словаря ошибок
|
||||
* The method checks whether the username or E-mail specified during registration
|
||||
* can be occupied. It happens that users enter the wrong E-mail or username,
|
||||
* then notice it and try to re-register. We'll not interfere with them
|
||||
* and simply delete existing not-finished-registration account,
|
||||
* allowing them to take it.
|
||||
*
|
||||
* @param array $errors an array where the key is a field and the value is
|
||||
* the first error from our standard error dictionary
|
||||
* @return bool
|
||||
*/
|
||||
protected function canContinue(array $errors): bool {
|
||||
|
Reference in New Issue
Block a user