mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 11:05:40 +00:00
panel
This commit is contained in:
@@ -2,6 +2,7 @@ import './css/forms.scss';
|
||||
|
||||
import signin from './auth/signin';
|
||||
import registerUser from './auth/register';
|
||||
import {run as runPanel} from './panel/index';
|
||||
import {checkUsernameEventHandler} from './auth/userExists';
|
||||
|
||||
if (window.location.pathname == '/') {
|
||||
@@ -12,8 +13,9 @@ if (window.location.pathname == '/') {
|
||||
form.addEventListener('submit', registerUser, true);
|
||||
let username = document.getElementById('username');
|
||||
username.addEventListener('input', checkUsernameEventHandler, false);
|
||||
} else if (window.location.pathname.includes('panel')) {
|
||||
runPanel();
|
||||
} else {
|
||||
}
|
||||
|
||||
|
||||
//export default signin;
|
||||
|
||||
Reference in New Issue
Block a user