From 9eb10fb21aef52b5b5b19fe7d3152e6199562e70 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 16 Nov 2012 22:40:56 +0000 Subject: [PATCH] Clear password if decryption fails --- core/boot.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/core/boot.js b/core/boot.js index 703424f11..687d10bb9 100644 --- a/core/boot.js +++ b/core/boot.js @@ -299,8 +299,8 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) { var self = this; form.addEventListener("submit",function(event) { // Collect the form data - var data = {}; - for(var t=0; t