From fca7da47d931fac7d68f5052ec55f01839ed5c9c Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Tue, 24 Apr 2012 18:16:03 +0100 Subject: [PATCH] Start the verifyEmailAddress page controller even if there is no token. To test: * Make sure verification works if a valid token is given. * Make sure error message is displayed if invalid token is given. * Make sure error message is displayed if no token is given. issue #1495 --- resources/static/pages/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/static/pages/start.js b/resources/static/pages/start.js index 530e09f8d..5cf1c6250 100644 --- a/resources/static/pages/start.js +++ b/resources/static/pages/start.js @@ -79,7 +79,7 @@ $(function() { verifyFunction: "verifyEmail" }); } - else if(token && path === "/verify_email_address") { + else if(path === "/verify_email_address") { var module = bid.verifySecondaryAddress.create(); module.start({ token: token, -- GitLab