From e0d40e29a3b7d8bc40295537c8ed0fb7b0fe422d Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Fri, 5 Apr 2019 02:02:02 +0300 Subject: [PATCH] Fix "Password Reset by PIN" page --- src/controllers/forgotpassword.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/forgotpassword.js b/src/controllers/forgotpassword.js index bb9489a11a..9c1ed7d5fe 100644 --- a/src/controllers/forgotpassword.js +++ b/src/controllers/forgotpassword.js @@ -12,9 +12,12 @@ define([], function() { }); if ("PinCode" == result.Action) { var msg = Globalize.translate("MessageForgotPasswordFileCreated"); - return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ + return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset
" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ message: msg, title: Globalize.translate("HeaderForgotPassword") + callback: function() { + Dashboard.navigate("forgotpasswordpin.html") + } }) } }