Initial 'remember me' support for logins
This commit is contained in:
parent
cdcace828f
commit
a31273be5c
3 changed files with 20 additions and 7 deletions
|
|
@ -35,6 +35,11 @@ html(lang="en")
|
|||
label(for="password") Password
|
||||
input#password.form-control(type="password", name="password")
|
||||
a(href="/account/passwordreset") Forgot password?
|
||||
.form-group
|
||||
.checkbox
|
||||
label
|
||||
input(type="checkbox", name="remember")
|
||||
| Remember me
|
||||
button.btn.btn-success.btn-block(type="submit") Login
|
||||
else
|
||||
.col-lg-6.col-lg-offset-3.col-md-6.col-md-offset-3
|
||||
|
|
|
|||
|
|
@ -52,6 +52,11 @@ mixin navloginform(redirect)
|
|||
input#username.form-control(type="text", name="name", placeholder="Username")
|
||||
.form-group
|
||||
input#password.form-control(type="password", name="password", placeholder="Password")
|
||||
.form-group
|
||||
.checkbox
|
||||
label
|
||||
input(type="checkbox", name="remember")
|
||||
| Remember me
|
||||
button#login.btn.btn-default(type="submit") Login
|
||||
|
||||
mixin navlogoutform(redirect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue