authelia/internal/authentication
Clément Michaud 7a3e782dc0
[FEATURE][BREAKING] Allow users to sign in with email. (#792)
* [FEATURE][BREAKING] Allow users to sign in with email.

The users_filter purpose evolved with the introduction of username_attribute
but is reverted here to allow the most flexibility. users_filter is now the
actual filter used for searching the user and not a sub-filter based on the
username_attribute anymore.

* {input} placeholder has been introduced to later deprecate {0} which has been
kept for backward compatibility.
* {username_attribute} and {mail_attribute} are new placeholders used to back
reference other configuration options.

Fix #735

* [MISC] Introduce new placeholders for groups_filter too.

* [MISC] Update BREAKING.md to mention the change regarding users_filter.

* [MISC] Fix unit and integration tests.

* Log an error message in console when U2F is not supported.

* Apply suggestions from code review

* Update BREAKING.md

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2020-03-31 09:36:04 +11:00
..
const.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
file_user_provider.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
file_user_provider_test.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
ldap_connection_factory.go [DEPS] Fix gopkg.in/ldap.v3 import for dependabot (#726) 2020-03-19 15:22:46 +11:00
ldap_connection_factory_mock.go [DEPS] Fix gopkg.in/ldap.v3 import for dependabot (#726) 2020-03-19 15:22:46 +11:00
ldap_user_provider.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
ldap_user_provider_test.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
password_hash.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
password_hash_test.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
types.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
user_provider.go Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00