security.txt + bugfixes

This commit is contained in:
2023-03-05 15:30:06 +01:00
parent 5acd13b945
commit c8965e209b
32 changed files with 336 additions and 46 deletions

View File

@@ -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);
}

View File

@@ -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();
}