You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/core/admin/mailu
bors[bot] 18865bf03b
Merge #2094
2094: Sessions tweaks r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

- Make all sessions permanent, introduce SESSION_TIMEOUT and PERMANENT_SESSION_LIFETIME.
- Prevent the creation of a session before there is a login attempt
- Ensure that webmail tokens are in sync with sessions

### Related issue(s)
- close #2080 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
3 years ago
..
internal Fix 2080 3 years ago
sso don't create a session if we don't have to 3 years ago
translations removed some more whitespace 3 years ago
ui Fix missing edit buttons in alias, relay and fetchmail lists in admin. 3 years ago
__init__.py added localized date output 3 years ago
configuration.py do it once 3 years ago
debug.py update werkzeug to 1.x 3 years ago
dkim.py Upgrading to a 2048-bit DKIM key 5 years ago
limiter.py doh 3 years ago
manage.py removed some more whitespace 3 years ago
models.py Fix 2080 3 years ago
schemas.py updated database libraries (sqlalchemy etc.) 3 years ago
utils.py do it once 3 years ago