diff options
author | Willi Eggeling <mail@wje-online.de> | 2017-08-26 09:27:10 +0200 |
---|---|---|
committer | Willi Eggeling <mail@wje-online.de> | 2017-08-27 16:03:37 +0200 |
commit | 2e07e77573a379f9af006b2c523117eef9fdf9b2 (patch) | |
tree | bbcd002b7d357f92a832b4bd22d5ed6251732037 /tpl/vintage/loginform.html | |
parent | de901736a663934c1b67f09f1d586da665f0f036 (diff) | |
download | Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.gz Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.zst Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.zip |
new setting: default value for 'remember me' checkbox
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
Diffstat (limited to 'tpl/vintage/loginform.html')
-rw-r--r-- | tpl/vintage/loginform.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/vintage/loginform.html b/tpl/vintage/loginform.html index 84176385..1becd44f 100644 --- a/tpl/vintage/loginform.html +++ b/tpl/vintage/loginform.html | |||
@@ -24,7 +24,9 @@ | |||
24 | </label> | 24 | </label> |
25 | <input type="submit" value="Login" class="bigbutton" tabindex="4"> | 25 | <input type="submit" value="Login" class="bigbutton" tabindex="4"> |
26 | <label for="longlastingsession"> | 26 | <label for="longlastingsession"> |
27 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"> | 27 | <input type="checkbox" name="longlastingsession" |
28 | id="longlastingsession" tabindex="3" | ||
29 | {if="$remember_user_default"}checked="checked"{/if}> | ||
28 | Stay signed in (Do not check on public computers)</label> | 30 | Stay signed in (Do not check on public computers)</label> |
29 | <input type="hidden" name="token" value="{$token}"> | 31 | <input type="hidden" name="token" value="{$token}"> |
30 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} | 32 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} |