authelia/internal/utils
Amir Zarrinkafsh 7c6a86882f
[MISC] Catch OpenLDAP ppolicy error (#1508)
* [MISC] Catch OpenLDAP ppolicy error

Further to the discussion over at #361, this change now ensures that OpenLDAP password complexity errors are caught and appropriately handled.

This change also includes the PasswordComplexity test suite in the LDAP integration suite. This is because a ppolicy has been setup and enforced.

* Remove password history for integration tests

* Adjust max failures due to regulation trigger

* Fix error handling for password resets

* Refactor and include code suggestions
2020-12-16 12:30:03 +11:00
..
aes.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
check.go Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
clock.go [CI] Add godot linter (#958) 2020-05-02 15:06:39 +10:00
const.go [FEATURE] LDAP StartTLS (#1500) 2020-12-03 16:23:52 +11:00
exec.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
files.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
safe_redirection.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
safe_redirection_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00
strings.go [MISC] Catch OpenLDAP ppolicy error (#1508) 2020-12-16 12:30:03 +11:00
strings_test.go [MISC] Catch OpenLDAP ppolicy error (#1508) 2020-12-16 12:30:03 +11:00
time.go [CI] Add gocritic linter (#977) 2020-05-06 10:52:06 +10:00
time_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00