Clarify unencrypted password error message

This commit is contained in:
Joseph Schorr 2015-03-26 16:23:28 -04:00
parent 7d13299782
commit c4a2574b0d

View file

@ -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