Add required config to signin context
This commit is contained in:
parent
2bb4a134b2
commit
2d2a8248c4
4 changed files with 23 additions and 12 deletions
|
|
@ -38,7 +38,7 @@
|
|||
</div>
|
||||
|
||||
<form method="POST" action="/signin">
|
||||
<input type="hidden" name="next" value="{{ .Next }}" />
|
||||
<input type="hidden" name="next" value="{{ .C.Next }}" />
|
||||
<div class="mb-3">
|
||||
<label for="username" class="form-label">Username</label>
|
||||
<input
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
/>
|
||||
</div>
|
||||
|
||||
{{ if .InvalidCredentials }}
|
||||
{{ if .C.InvalidCredentials }}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
The credentials you provided weren't recognized.
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue