Commit a269a07c authored by Christophe Henry's avatar Christophe Henry

feat: document login by username and email feature

parent 03ff08fa
Pipeline #6164 passed with stage
in 27 seconds
......@@ -63,6 +63,14 @@ The workflow starts at :
Then, override template by copying the directory `djangoldp_account/templates/django_registration/` to your project and modify them.
## Enabling login by email and username
Modify the `AUTHENTICATION_BACKENDS` variable in `` to replace
`'django.contrib.auth.backends.ModelBackend'` by
Ensure `'djangoldp_account.auth.backends.EmailOrUsernameAuthBackend'` is
first in the list.
## Authenticate from an external provider
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment