Hooked up new login form to function correctly

This commit is contained in:
SecretlyTaco 2018-02-22 12:34:01 +00:00
parent 0607145f0d
commit 9f92b2d7fe

View file

@ -6,8 +6,8 @@
<h2 class="mx-auto" style="display:inline;">Login to Tweeder</h2>
<a href="/register" class="btn btn-outline-success" style="float:right;">Need an account?</a>
<form method="POST" action="/login" class="form-group">
<input type="text" class="form-control" style="margin-bottom: 12px; margin-top: 12px; height:45px;" tabindex="1" placeholder="Username or email address" />
<input type="password" class="form-control" style="margin-bottom: 12px; height:45px;" tabindex="2" placeholder="Password" />
<input name="username" type="text" class="form-control" style="margin-bottom: 12px; margin-top: 12px; height:45px;" tabindex="1" placeholder="Username or email address" />
<input name="password" type="password" class="form-control" style="margin-bottom: 12px; height:45px;" tabindex="2" placeholder="Password" />
<input type="submit" class="form-control btn btn-primary" />
</form>
</div>