Add unfinished Login-System
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
ERROR TEXT
|
||||
</div>
|
||||
<div class="register-form form-l">
|
||||
<input type="text" placeholder="Benutzername" id="usernameInputRegister" />
|
||||
<input type="password" placeholder="Passwort" id="passwordInputRegister" />
|
||||
<input type="password" placeholder="Passwort wiederholen" id="passwordRepeatInputRegister" />
|
||||
<button id="registerBtn">Erstellen</button><br /><br />
|
||||
@@ -28,7 +27,6 @@
|
||||
<p class="message">Bereits registriert? <a href="#">Logg dich ein</a></p>
|
||||
</div>
|
||||
<div class="login-form form-l">
|
||||
<input type="text" placeholder="Benutzername" id="usernameInputLogin" />
|
||||
<input type="password" placeholder="Passwort" id="passwordInputLogin" />
|
||||
<button id="loginBtn">Einloggen</button><br /><br />
|
||||
<button class="quitBtn">Server verlassen</button>
|
||||
@@ -61,7 +59,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (password.length < 8) {
|
||||
if (password.length < 8 || passwordRepeat.length < 8) {
|
||||
showError("Das Passwort muss mindestens 8 Zeichen lang sein");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user