(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Account confirmation</title>
</head>
<body>
<a href="{{ .confirmationLink }}">Click here</a>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Password reset</title>
</head>
<body>
<a href="{{ .passwordResetLink }}">Click here</a>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Account confirmation</title>
</head>
<body>
<div id="status">Processing request...</div>
<script>
function processConfirmation() {
let xhr = new XMLHttpRequest();
xhr.open('POST', {{ .confirmationRequestURL }}, true);
xhr.onload = function () {
if (xhr.status >= 200 && xhr.status < 300) {
document.getElementById('status').textContent = 'Successfully confirmed account.';
} else {
document.getElementById('status').textContent = 'Failed to confirm, please try registering again.';
}
};
xhr.onerror = function () {
document.getElementById('status').textContent = 'Failed to confirm, please try registering again.';
};
xhr.send(JSON.stringify({}));
}
window.onload = processConfirmation;
</script>
</body>
</html>