Commit graph

5 commits

Author SHA1 Message Date
Knah Tsaeb 23a5fc1eef Merge latest 0.12.2 2023-05-24 11:35:15 +02:00
VirtualTam adf409716b fix: IP ban check for the Vintage theme
Introduced by https://github.com/shaarli/Shaarli/pull/1008

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-24 21:55:03 +01:00
VirtualTam 44acf70681 Refactor login / ban authentication steps
Relates to https://github.com/shaarli/Shaarli/issues/324

Added:
- Add the `LoginManager` class to manage logins and bans

Changed:
- Refactor IP ban management
- Simplify logic
- Avoid using globals, inject dependencies

Fixed:
- Use `ban_duration` instead of `ban_after` when setting a new ban

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:12:09 +01:00
Willi Eggeling 2e07e77573 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
2017-08-27 16:03:37 +02:00
ArthurHoaro 009ce93581 Move default template to vintage folder 2017-02-27 20:01:54 +01:00
Renamed from tpl/default/loginform.html (Browse further)