forked from lolautruche/EzCoreExtraBundle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f44cbf2
commit 969b0b9
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Authentication by e-mail | ||
|
||
By default, eZ users can only authenticate using their username. However, using e-mail for authentication is quite a | ||
common use case. | ||
|
||
EzCoreExtraBundle enables the possibility for any eZ user to authenticate against their e-mail, in addition to their username. | ||
|
||
You can easily activate it for your SiteAccess using the following config, where `my_siteaccess` is the name of | ||
your SiteAccess or SiteAccess group: | ||
|
||
```yaml | ||
ez_core_extra: | ||
system: | ||
my_siteaccess: | ||
enable_email_authentication: true | ||
``` | ||
|
||
Original behavior - authentication by username - is kept and will always have precedence (e.g. username will always | ||
be tested first). | ||
|
||
> **Important note**: `EzCoreExtraBundle` **MUST** be instanciated | ||
> **after eZ bundles** in `AppKernel`. |