Clarify unencrypted password error message
This commit is contained in:
parent
7d13299782
commit
c4a2574b0d
1 changed files with 2 additions and 2 deletions
|
@ -202,8 +202,8 @@ class UserAuthentication(object):
|
|||
if decrypted is None:
|
||||
# This is a normal password.
|
||||
if features.REQUIRE_ENCRYPTED_BASIC_AUTH:
|
||||
msg = ('Client login with passwords is disabled. Please generate a client token ' +
|
||||
'and use it in place of your password.')
|
||||
msg = ('Client login with unecrypted passwords is disabled. Please generate an ' +
|
||||
'encrypted password in the user admin panel for use here.')
|
||||
return (None, msg)
|
||||
else:
|
||||
password = decrypted
|
||||
|
|
Reference in a new issue