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:
|
if decrypted is None:
|
||||||
# This is a normal password.
|
# This is a normal password.
|
||||||
if features.REQUIRE_ENCRYPTED_BASIC_AUTH:
|
if features.REQUIRE_ENCRYPTED_BASIC_AUTH:
|
||||||
msg = ('Client login with passwords is disabled. Please generate a client token ' +
|
msg = ('Client login with unecrypted passwords is disabled. Please generate an ' +
|
||||||
'and use it in place of your password.')
|
'encrypted password in the user admin panel for use here.')
|
||||||
return (None, msg)
|
return (None, msg)
|
||||||
else:
|
else:
|
||||||
password = decrypted
|
password = decrypted
|
||||||
|
|
Reference in a new issue