-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "Password Reset by PIN" page #229
Conversation
src/controllers/forgotpassword.js
Outdated
message: msg, | ||
title: Globalize.translate("HeaderForgotPassword") | ||
callback: function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird indentation. Do you use tabs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have CI checking for valid JS now, it was throwing an error.
src/controllers/forgotpassword.js
Outdated
@@ -12,9 +12,12 @@ define([], function() { | |||
}); | |||
if ("PinCode" == result.Action) { | |||
var msg = Globalize.translate("MessageForgotPasswordFileCreated"); | |||
return msg += "<br/>", msg += "<br/>", msg += "<a href=\"forgotpasswordpin.html\">Enter PIN here to finish Password Reset</a>" ,msg += "<br/>",msg += result.PinFile, msg += "<br/>", void Dashboard.alert({ | |||
return msg += "<br/>", msg += "<br/>", msg += "Enter PIN here to finish Password Reset<br/>" ,msg += "<br/>",msg += result.PinFile, msg += "<br/>", void Dashboard.alert({ | |||
message: msg, | |||
title: Globalize.translate("HeaderForgotPassword") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Globalize.translate("HeaderForgotPassword") | |
title: Globalize.translate("HeaderForgotPassword"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dkanada this is done thanks for finding
No description provided.