1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
authelia/internal/utils
James Elliott 60ff16b518
fix(handlers): refresh user details on all domains ()
* 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
..
aes.go [FEATURE] Create dedicated health endpoint () 2020-11-25 10:20:52 +11:00
certificates_test.go [FEATURE] Enhance LDAP/SMTP TLS Configuration and Unify Them () 2021-01-04 21:28:55 +11:00
certificates.go [BUGFIX] Fix incorrect docs and Certificate PEM extensions () 2021-01-10 22:10:45 +11:00
check.go Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
clock.go [CI] Add godot linter () 2020-05-02 15:06:39 +10:00
const.go [FEATURE] LDAP StartTLS () 2020-12-03 16:23:52 +11:00
exec.go [CI] Add wsl linter () 2020-05-05 21:35:32 +02:00
files.go [CI] Add wsl linter () 2020-05-05 21:35:32 +02:00
safe_redirection_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog () 2020-04-09 11:05:17 +10:00
safe_redirection.go [CI] Add wsl linter () 2020-05-05 21:35:32 +02:00
strings_test.go fix(handlers): refresh user details on all domains () 2021-02-02 12:01:46 +11:00
strings.go fix(handlers): refresh user details on all domains () 2021-02-02 12:01:46 +11:00
time_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog () 2020-04-09 11:05:17 +10:00
time.go [CI] Add gocritic linter () 2020-05-06 10:52:06 +10:00