Fix login

This commit is contained in:
Bruno Rybársky 2024-06-06 09:04:43 +02:00
parent ec40fa0a7a
commit 9a379aa6ed

@ -9,20 +9,20 @@
<input type="password" name="password" id="login_password" required placeholder="Password"> <input type="password" name="password" id="login_password" required placeholder="Password">
<button type="button" onclick="login()">Login</button> <button type="button" onclick="login()">Login</button>
</form> </form>
<p onclick="toggleRegister()">Register</p> <p onclick="toggleRegister()">Don't have an account</p>
</div> </div>
<div class="form-container sign-up" id="sign_up_form"> <div class="form-container sign-up hidden" id="sign_up_form">
<h1>Create Account</h1> <h1>Create Account</h1>
<form class="form-content sign-up hidden"> <form class="form-content sign-up">
<input type="text" name="firstName" id="register_firstName" required placeholder="First name"> <input type="text" name="firstName" id="register_firstName" required placeholder="First name">
<input type="text" name="lastName" id="register_lastName" required placeholder="Last name"> <input type="text" name="lastName" id="register_lastName" required placeholder="Last name">
<input type="email" name="email" id="register_email" required placeholder="Email"> <input type="email" name="email" id="register_email" required placeholder="Email">
<input type="password" name="password" id="register_password" required placeholder="Password"> <input type="password" name="password" id="register_password" required placeholder="Password">
<input type="text" name="activationToken" id="register_activationToken" required <input type="text" name="activationToken" id="register_activationToken" required
placeholder="Activation Token"> placeholder="Activation Token">
<button type="button" onclick="register()">Register</button> <button type="button">Register</button>
</form> </form>
<p onclick="toggleRegister()">Login</p> <p onclick="toggleRegister()">Already have an account</p>
</div> </div>
</div> </div>
</main> </main>