Have got logout working
This commit is contained in:
parent
01c6e9de87
commit
b7e0269e9d
7 changed files with 66 additions and 10 deletions
|
|
@ -2,15 +2,15 @@
|
|||
<div class="text-center mb-3">
|
||||
<h3>Weiro Login</h3>
|
||||
</div>
|
||||
<input type="hidden" name="_login_challenge" value="{{ .challenge }}">
|
||||
<form action="/login" method="post">
|
||||
<input type="hidden" name="_login_challenge" value="{{ .challenge }}">
|
||||
<div class="mb-2">
|
||||
<label for="login_username" class="form-label">Login</label>
|
||||
<input type="email" class="form-control" id="login_username">
|
||||
<label for="username" class="form-label">Login</label>
|
||||
<input type="text" class="form-control" name="username" id="username">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="login_password" class="form-label">Password</label>
|
||||
<input type="password" class="form-control" id="login_password">
|
||||
<label for="password" class="form-label">Password</label>
|
||||
<input type="password" class="form-control" name="password" id="password">
|
||||
</div>
|
||||
<div class="mb-3 text-end">
|
||||
<input type="submit" class="btn btn-primary" value="Login">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue