authelia/internal/handlers
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
..
const.go [MISC] Catch OpenLDAP ppolicy error (#1508) 2020-12-16 12:30:03 +11:00
errors.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_configuration_test.go [MISC] Template global config and refactor some /api endpoints (#1135) 2020-06-21 15:40:37 +02:00
handler_configuration.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_firstfactor_test.go [FEATURE] Delay 1FA Authentication (#993) 2020-05-21 00:03:15 +02:00
handler_firstfactor.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_health.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
handler_logout_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_logout.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_register_totp.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step1_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step1.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step2.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_reset_password_step1.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_reset_password_step2.go [MISC] Catch OpenLDAP ppolicy error (#1508) 2020-12-16 12:30:03 +11:00
handler_sign_duo_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_duo.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_totp_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_totp.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_u2f_step1_test.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_sign_u2f_step1.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_u2f_step2_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_u2f_step2.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_state_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_verify_test.go fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
handler_verify.go fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
response.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
totp_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
types.go [MISC] Template global config and refactor some /api endpoints (#1135) 2020-06-21 15:40:37 +02:00
u2f_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00