mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
registration link correction
This commit is contained in:
@@ -57,8 +57,8 @@
|
||||
</form>
|
||||
<div class="form__secondary-action">
|
||||
<p class="form__secondary-action__banner">
|
||||
New to mCaptcha?
|
||||
<a href="/" class="form__secondary-action__link">Create account</a>
|
||||
Already have an account?
|
||||
<a href="/" class="form__secondary-action__link">Log in</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@ const registerUser = async e => {
|
||||
let email = document.getElementById('email').value;
|
||||
isBlankString(e, email, 'email');
|
||||
|
||||
let exists = await checkUsernameExists();
|
||||
let exists = await userExists();
|
||||
if (exists) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import * as panel from './panel/index';
|
||||
const router = new Router();
|
||||
|
||||
router.register('/', login.index);
|
||||
router.register('/register', register.index);
|
||||
router.register('/join', register.index);
|
||||
router.register('/panel/', panel.index);
|
||||
router.register('/panel/layout.html/', panel.index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user