Clear password from password_prompt post-login
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 12 Aug 2011 13:17:46 +0000 (09:17 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 4 Oct 2011 18:32:54 +0000 (14:32 -0400)
Otherwise it remains as the plain text value.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/auth/controller.js

index 3552016..5d44bb5 100644 (file)
@@ -449,6 +449,8 @@ auth.controller.prototype = {
                 this.on_login_error(E);
             }
         }
+        // Once we are done with it, clear the password
+        this.controller.view.password_prompt.value = '';
 
     },