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:22:43 +0000 (14:22 -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 35d885c..f0f8f8f 100644 (file)
@@ -456,6 +456,8 @@ auth.controller.prototype = {
                 this.on_login_error(E);
             }
         }
+        // Once we are done with it, clear the password
+        this.controller.view.password_prompt.value = '';
 
     },