Configured confirmation email settings to a reasonable default.
This commit is contained in:
parent
bdd918a4ca
commit
661731a914
3 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
EMAIL_HOST_USER=gmail_account@gmail.com
|
||||
EMAIL_HOST_PASSWORD=gmail_password
|
||||
SUBMIT_REPORT_DESTINATION_EMAIL=to_address@gmail.com
|
||||
EMAIL_HOST_USER=reimbursinator@gmail.com
|
||||
EMAIL_HOST_PASSWORD=Frank12345
|
||||
SUBMIT_REPORT_DESTINATION_EMAIL=reimbursinator@gmail.com
|
||||
SUBMIT_REPORT_FROM_EMAIL=from_address@gmail.com
|
||||
|
|
|
@ -166,6 +166,9 @@ SITE_ID = 1
|
|||
|
||||
# Registration
|
||||
|
||||
LOGIN_URL = 'https://192.168.99.100:8443'
|
||||
LOGIN_REDIRECT_URL = 'https://192.168.99.100:8443'
|
||||
|
||||
#ACCOUNT_USER_MODEL_USERNAME_FIELD = 'email'
|
||||
ACCOUNT_EMAIL_REQUIRED = True
|
||||
ACCOUNT_USERNAME_REQUIRED = False
|
||||
|
|
|
@ -14,6 +14,6 @@ urlpatterns = [
|
|||
path('api/v1/', include("backend.urls")),
|
||||
path('api/v1/account/', include('rest_auth.urls')),
|
||||
path('api/v1/account/register/', include('rest_auth.registration.urls')),
|
||||
# path('api/v1/account/register/', NameRegistrationView.as_view()),
|
||||
path('api/v1/accounts/', include('allauth.urls')),
|
||||
path('api-auth/', include('rest_framework.urls')),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue