security.txt + bugfixes
This commit is contained in:
@@ -52,7 +52,7 @@ $(document).ready(function () {
|
||||
$("#password").val("");
|
||||
createdDiv.hide();
|
||||
if (res.emailConfirmed === false) {
|
||||
showAlert("danger", res.msg + ' <a href="/resendConfirmation">Click here</a> to resend the confirmation mail.', true);
|
||||
showAlert("danger", res.msg + ' <a href="/resendConfirmEmail">Click here</a> to resend the confirmation mail.', true);
|
||||
} else {
|
||||
showAlert("danger", res.msg);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ function setState(state) {
|
||||
|
||||
case SUCCESSFUL:
|
||||
icon = 'fas fa-check-circle';
|
||||
text = "Successfull";
|
||||
text = "Successful";
|
||||
color = "success";
|
||||
break;
|
||||
|
||||
@@ -112,7 +112,7 @@ function waitForStatusChange() {
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#btnSubmit").click(function() {
|
||||
params = { };
|
||||
let params = { };
|
||||
let submitButton = $("#btnSubmit");
|
||||
let textBefore = submitButton.text();
|
||||
submitButton.prop("disabled", true);
|
||||
@@ -143,7 +143,7 @@ $(document).ready(function() {
|
||||
$("#btnPrev").prop("disabled", true);
|
||||
sendRequest({ "prev": true }, function(success) {
|
||||
if(!success) {
|
||||
$("#btnPrev").prop("disabled",false);
|
||||
$("#btnPrev").prop("disabled", false);
|
||||
} else {
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user