Skip to content
Snippets Groups Projects
Commit 4f563f55 authored by Sylvain Llop's avatar Sylvain Llop
Browse files

update: add simple_registration behaviour to readme

parent 1e26aca5
No related branches found
No related tags found
1 merge request!91Django registration simple
Pipeline #10326 passed
...@@ -68,6 +68,14 @@ The workflow starts at : http://127.0.0.1:8000/accounts/register/ ...@@ -68,6 +68,14 @@ The workflow starts at : http://127.0.0.1:8000/accounts/register/
Then, override template by copying the directory `djangoldp_account/templates/django_registration/` to your project and modify them. Then, override template by copying the directory `djangoldp_account/templates/django_registration/` to your project and modify them.
## Enabling account activation without mail
You can also enable the user account activation directly, without sending the activation mail, by setting `SIMPLE_REGISTRATION` to `True` in settings.yml
```python
SIMPLE_REGISTRATION: True
```
## Enabling login by email and username ## Enabling login by email and username
Modify the `AUTHENTICATION_BACKENDS` variable in `settings.py` to replace Modify the `AUTHENTICATION_BACKENDS` variable in `settings.py` to replace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment