diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-05-20 13:05:05 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-20 19:07:47 +0200 |
commit | 9465f8db6d12a2bb8707f62ccb7d668059ec1cf1 (patch) | |
tree | 479c7dcca50c06008a85e5b95d6b36c8c713003c /themes/alps/login.html | |
parent | ee3f66c24c3a8fba4ee1867e15f7c0814abdb100 (diff) | |
download | alps-9465f8db6d12a2bb8707f62ccb7d668059ec1cf1.tar.gz alps-9465f8db6d12a2bb8707f62ccb7d668059ec1cf1.zip |
login: set encrypted "remember me" token
Diffstat (limited to 'themes/alps/login.html')
-rw-r--r-- | themes/alps/login.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/themes/alps/login.html b/themes/alps/login.html index e642050..6f7c372 100644 --- a/themes/alps/login.html +++ b/themes/alps/login.html @@ -6,19 +6,24 @@ <form method="post" action="/login"> <div class="action-group"> - <label for="username"> - <strong>Username</strong> - </label> + <label for="username">Username</label> <input type="text" name="username" id="username" autofocus /> </div> <div class="action-group"> - <label for="password"> - <strong>Password</strong> - </label> + <label for="password">Password</label> <input type="password" name="password" id="password" /> </div> + {{if .CanRememberMe}} + <div class="action-group"> + <label for="remember-me" class="checkbox"> + <input type="checkbox" name="remember-me" id="remember-me" /> + Remember me + </label> + </div> + {{end}} + <div class="action-group"> <button type="submit">Sign in</button> </div> |