mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Improves OpenApi documentation
This commit is contained in:
1 parent
f2703b86c5
commit
77f95708b9
101 files changed
+2336
-294
No files matched your search
@@ -64,7 +64,7 @@
|
||||
<div class="form-row">
|
||||
<div class="form-field">
|
||||
<label class="enlightenment-checkbox-label">
|
||||
<input type="checkbox" asp-for="Use2fa" class="enlightenment-checkbox-hidden" value="true" />
|
||||
<input type="checkbox" asp-for="Use2fa" class="enlightenment-checkbox-hidden" value="true" checked/>
|
||||
<span class="enlightenment-checkbox"></span>
|
||||
Enable two factor authentication
|
||||
</label>
|
||||
@@ -86,7 +86,7 @@
|
||||
<p id="totp-message" class="text-light-one w-100 hidden">Scan Totp Code</p>
|
||||
@if (User?.Identity?.IsAuthenticated == false)
|
||||
{
|
||||
<button id="btn-login" type="button" class="confirm-button h-22px w-80px mx-auto mt-10 hidden" data-link="@_urlService.GetAbsoluteUrl("Login", "Auth")">Login</button>
|
||||
<button id="btn-login" type="button" class="confirm-button h-22px w-80px mx-auto mt-10 hidden">Login</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
@@ -136,5 +136,8 @@
|
||||
);
|
||||
document.getElementById('#hidden-use-two-fa').value = isChecked.toString();
|
||||
});
|
||||
document.getElementById('btn-login').addEventListener('click', () => {
|
||||
window.location.href = '@_urlService.GetAbsoluteUrl("Login", "Auth")';
|
||||
});
|
||||
</script>
|
||||
}
|
||||
Reference in new issue
Block a user