mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Allow colon in password
- It was disallowed because of a too strict intepretation of RFC2617
This commit is contained in:
parent
81cd334664
commit
d2033d4c92
4 changed files with 9 additions and 6 deletions
|
@ -549,7 +549,7 @@ class Account extends BaseSettings
|
|||
|
||||
$notify_type = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'notify_type');
|
||||
|
||||
$passwordRules = DI::l10n()->t('Allowed characters are a-z, A-Z, 0-9 and special characters except white spaces, accentuated letters and colon (:).')
|
||||
$passwordRules = DI::l10n()->t('Allowed characters are a-z, A-Z, 0-9 and special characters except white spaces and accentuated letters.')
|
||||
. (PASSWORD_DEFAULT === PASSWORD_BCRYPT ? ' ' . DI::l10n()->t('Password length is limited to 72 characters.') : '');
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('settings/account.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue