fixed redirection bug

This commit is contained in:
Mystikfluu 2022-06-03 08:48:13 +02:00
parent eeb4bb85e0
commit cfbf54410c

View File

@ -19,7 +19,6 @@
<h1>Welcome Back!</h1> <h1>Welcome Back!</h1>
</header> </header>
<main> <main>
<form id="login_form" class="form_class" action="login" method="post">
<div class="info_div"> <div class="info_div">
<h2 id="user">User: USER</h2> <h2 id="user">User: USER</h2>
<br> <br>
@ -30,7 +29,6 @@
<br> <br>
<button onclick="location.assign('/posts')">Want to chat with some cool fellas?</button> <button onclick="location.assign('/posts')">Want to chat with some cool fellas?</button>
</div> </div>
</form>
</main> </main>
<script> <script>
async function setuser() { async function setuser() {