summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-12-21 18:24:54 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-12-21 18:24:54 +0200
commitd3ef8e02a9e6e5cb394a07e294a07aab051a060f (patch)
tree6f55b3ed3ab111705ea4bd9bb71ceb3ad12f51af
parent3cf566a115e71e4d9511afc4b76b12afdfc33934 (diff)
MAINT-8110 clear password field after failed login instead of showing fake dots
-rw-r--r--indra/newview/llpanellogin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index c76985f42e..fc8914c4f9 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -492,7 +492,7 @@ void LLPanelLogin::setFields(LLPointer<LLCredential> credential,
LL_INFOS("Credentials") << "Setting authenticator field " << authenticator["type"].asString() << LL_ENDL;
if(authenticator.isMap() &&
authenticator.has("secret") &&
- (authenticator["secret"].asString().size() > 0))
+ (authenticator["secret"].asString().size() > 0) && remember)
{
// This is a MD5 hex digest of a password.