mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Show correct info about password requirements (#676)
This commit is contained in:
parent
045297eb6d
commit
7d57483086
3 changed files with 3 additions and 2 deletions
|
@ -654,6 +654,7 @@ $template->assign_vars(array(
|
|||
'EDIT_PROFILE' => ($mode == 'editprofile'),
|
||||
'ADM_EDIT' => $adm_edit,
|
||||
'SHOW_PASS' => ($adm_edit || ($mode == 'register' && IS_ADMIN)),
|
||||
'PASSWORD_LONG' => sprintf($lang['PASSWORD_LONG'], PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH),
|
||||
'CAPTCHA_HTML' => ($need_captcha) ? bb_captcha('get') : '',
|
||||
|
||||
'LANGUAGE_SELECT' => \TorrentPier\Legacy\Select::language($pr_data['user_lang'], 'user_lang'),
|
||||
|
|
|
@ -615,7 +615,7 @@ $lang['PROFILE_UPDATED_INACTIVE'] = 'Your profile has been updated. However, you
|
|||
|
||||
$lang['PASSWORD_MISMATCH'] = 'The passwords you entered did not match.';
|
||||
$lang['CURRENT_PASSWORD_MISMATCH'] = 'The current password you supplied does not match that stored in the database.';
|
||||
$lang['PASSWORD_LONG'] = 'Your password must be no more than 32 characters.';
|
||||
$lang['PASSWORD_LONG'] = 'Your password must be no longer than %d characters and no shorter than %d characters.';
|
||||
$lang['TOO_MANY_REGISTERS'] = 'You have made too many registration attempts. Please try again later.';
|
||||
$lang['USERNAME_TAKEN'] = 'Sorry, but this username has already been taken.';
|
||||
$lang['USERNAME_INVALID'] = 'Sorry, but this username contains an invalid character';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue