server/lib/private/Session
Roeland Jago Douma bb94b39745
Do not clear CSRF token on logout (fix for #1303)
This is a hacky way to allow the use case of #1303.

What happens is

1. User tries to login
2. PreLoginHook kicks in and figures out that the user need to change
their LDAP password or whatever => redirects user
3. While loading the redirect some logic of ours kicks in and logouts
the user (thus clearing the session).
4. We render the new page but now the session and the page disagree
about the CSRF token

This is kind of hacky but I don't think it introduces new attack
vectors.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-03-13 22:16:56 +01:00
..
CryptoSessionData.php Do not clear CSRF token on logout (fix for #1303) 2017-03-13 22:16:56 +01:00
CryptoWrapper.php Fix others 2016-07-21 18:13:57 +02:00
Internal.php Update with robin 2016-07-21 18:13:58 +02:00
Memory.php Update with robin 2016-07-21 18:13:58 +02:00
Session.php Update with robin 2016-07-21 18:13:58 +02:00