1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

Fix #17262 - Add warning when setting a password to a blank value if AllowNoPassword is false (#19315)

* Fix #17262 - Add warning when setting a password to a blank value if AllowNoPassword is false

Closes #17262

Signed-off-by: Jacek Barecki <jacek.barecki@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
Jacek Barecki
2024-10-11 19:35:11 +02:00
committed by GitHub
parent 720de704f8
commit 003f092277
11 changed files with 83 additions and 19 deletions

View File

@@ -143,6 +143,11 @@ final class JavaScriptMessagesController implements InvocableController
'strUserEmpty' => __('The user name is empty!'),
'strPasswordEmpty' => __('The password is empty!'),
'strPasswordNotSame' => __('The passwords aren\'t the same!'),
'strPasswordEmptyWhenAllowNoPasswordIsEnabled' => __(
'You are trying to set this account to log in with no password, but the configuration directive ' .
'<code>AllowNoPassword</code> is false. If you proceed, the account will not be able to log in ' .
'through phpMyAdmin.',
),
'strRemovingSelectedUsers' => __('Removing Selected Users'),
'strClose' => __('Close'),
'strLock' => _pgettext('Lock the account.', 'Lock'),