From 7fdf6b597138ab83ea61bb24fa3d88551d7deef3 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Fri, 12 Aug 2011 09:17:46 -0400 Subject: [PATCH] Clear password from password_prompt post-login Otherwise it remains as the plain text value. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/chrome/content/auth/controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js index 2b3a14a458..d8fb9e3877 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js @@ -455,6 +455,8 @@ auth.controller.prototype = { this.on_login_error(E); } } + // Once we are done with it, clear the password + this.controller.view.password_prompt.value = ''; }, -- 2.11.0