mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
error correction, tests for err branches, rm get_token, get_token,
delete captcha
This commit is contained in:
@@ -24,20 +24,6 @@ const ROUTES = {
|
||||
emailExists: '/api/v1/account/email/exists',
|
||||
healthCheck: '/api/v1/meta/health',
|
||||
buildDetails: '/api/v1/meta/build',
|
||||
addDomain: '/api/v1/mcaptcha/domain/add',
|
||||
challengeDomain: '/api/v1/mcaptcha/domain/domain/verify/challenge/get',
|
||||
proveDomain: '/api/v1/mcaptcha/domain/domain/verify/challenge/prove',
|
||||
deleteDomain: '/api/v1/mcaptcha/domain/delete',
|
||||
addToken: '/api/v1/mcaptcha/domain/token/add',
|
||||
updateTokenKey: '/api/v1/mcaptcha/domain/token/update',
|
||||
getTokenKey: '/api/v1/mcaptcha/domain/token/get',
|
||||
deleteToken: '/api/v1/mcaptcha/domain/token/delete',
|
||||
addTokenLevels: '/api/v1/mcaptcha/domain/token/levels/add',
|
||||
updateTokenLevels: '/api/v1/mcaptcha/domain/token/levels/update',
|
||||
deleteTokenLevels: '/api/v1/mcaptcha/domain/token/levels/delete',
|
||||
getTokenLevels: '/api/v1/mcaptcha/domain/token/levels/get',
|
||||
getTokenDuration: '/api/v1/mcaptcha/domain/token/token/get',
|
||||
updateTokenDuration: '/api/v1/mcaptcha/domain/token/token/update',
|
||||
markNotificationRead: '/api/v1/notifications/read',
|
||||
};
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
/>
|
||||
</label>
|
||||
|
||||
<label class="sitekey-form__label" for="duration">
|
||||
<label class="sitekey-form__label" for="password">
|
||||
Password
|
||||
<input
|
||||
class="sitekey-form__input"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
/>
|
||||
</label>
|
||||
|
||||
<label class="sitekey-form__label" for="username"
|
||||
<label class="sitekey-form__label" for="email"
|
||||
>Email(optional)
|
||||
<input
|
||||
class="sitekey-form__input"
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
</label>
|
||||
|
||||
<label for="password" class="sitekey-form__label"
|
||||
<label for="password" class="sitekey-form__label" for="password-check"
|
||||
>Re-enter Password
|
||||
<input
|
||||
class="sitekey-form__input"
|
||||
|
||||
29
templates/panel/sitekey/delete/index.html
Normal file
29
templates/panel/sitekey/delete/index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<. include!("../../../components/headers/index.html"); .>
|
||||
<div class="tmp-layout">
|
||||
<main class="auth-main">
|
||||
<div class="auth-inner-container">
|
||||
<. include!("../../../auth/logo.html"); .>
|
||||
<form
|
||||
class="sitekey-form"
|
||||
method="POST"
|
||||
action="<.= crate::V1_API_ROUTES.auth.login .>"
|
||||
id="form"
|
||||
>
|
||||
<h1 class="form__title">
|
||||
Confirm Access
|
||||
</h1>
|
||||
<label class="sitekey-form__label" for="password">
|
||||
Password
|
||||
<input
|
||||
class="sitekey-form__input"
|
||||
type="password"
|
||||
name="password"
|
||||
id="password"
|
||||
required
|
||||
/>
|
||||
<. include!("../../../components/showPassword/index.html"); .>
|
||||
</label>
|
||||
<input type="submit" class="sitekey-form__submit" value="Confirm access" />
|
||||
</form>
|
||||
</div>
|
||||
<. include!("../../../components/footers.html"); .>
|
||||
Reference in New Issue
Block a user