authelia/internal
James Elliott 60ff16b518
fix(handlers): refresh user details on all domains (#1642)
* fix(handlers): refresh user details on all domains 

* previously sessions only got checked for updated details if the domain had group subjects attached
* this meant disabled or deleted accounts did not get detected until the session expired or the user visited a domain protected by a group subject
* this patch fixes this issue and simplifies some logic surrounding the check

* add tests

simplify IsStringSlicesDifferent so it only iterates once

* add another test for IsStringSlicesDifferent
2021-02-02 12:01:46 +11:00
..
authentication [MISC] Add missing CLI suite test (#1607) 2021-01-17 10:23:35 +11:00
authorization fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
commands [MISC] Address errors from linter updates (#1308) 2020-09-04 13:20:17 +10:00
configuration [FEATURE] Add theme support (#1584) 2021-01-20 23:07:40 +11:00
duo [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
handlers fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
logging [BUGFIX] Disable colored logging outputs when file is specified (#1603) 2021-01-15 22:16:41 +11:00
middlewares [FEATURE] Plain Text Email Notifications (#1238) 2020-08-21 12:16:23 +10:00
mocks [FEATURE] Plain Text Email Notifications (#1238) 2020-08-21 12:16:23 +10:00
models [MISC] Implement golint recommendations (#885) 2020-04-20 23:03:38 +02:00
notification [MISC] Add missing CLI suite test (#1607) 2021-01-17 10:23:35 +11:00
regulation [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
server [MISC] Fix embedded fs for dev workflow (#1627) 2021-01-25 10:42:57 +11:00
session [BUGFIX] Static Session Expiration Key (#1564) 2020-12-29 12:44:47 +11:00
storage [CI] Update QEMU to v5.1.0-2 (#1321) 2020-09-18 22:05:43 +10:00
suites build(deps): update traefik docker tag to v2.4.1 (#1681) 2021-02-02 10:35:49 +11:00
templates [FEATURE] Plain Text Email Notifications (#1238) 2020-08-21 12:16:23 +10:00
utils fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00