Configured confirmation email settings to a reasonable default.

This commit is contained in:
kououken 2019-03-15 13:46:45 -07:00
parent bdd918a4ca
commit 661731a914
3 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,4 @@
EMAIL_HOST_USER=gmail_account@gmail.com EMAIL_HOST_USER=reimbursinator@gmail.com
EMAIL_HOST_PASSWORD=gmail_password EMAIL_HOST_PASSWORD=Frank12345
SUBMIT_REPORT_DESTINATION_EMAIL=to_address@gmail.com SUBMIT_REPORT_DESTINATION_EMAIL=reimbursinator@gmail.com
SUBMIT_REPORT_FROM_EMAIL=from_address@gmail.com SUBMIT_REPORT_FROM_EMAIL=from_address@gmail.com

View file

@ -166,6 +166,9 @@ SITE_ID = 1
# Registration # 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_USER_MODEL_USERNAME_FIELD = 'email'
ACCOUNT_EMAIL_REQUIRED = True ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_USERNAME_REQUIRED = False ACCOUNT_USERNAME_REQUIRED = False

View file

@ -14,6 +14,6 @@ urlpatterns = [
path('api/v1/', include("backend.urls")), path('api/v1/', include("backend.urls")),
path('api/v1/account/', include('rest_auth.urls')), path('api/v1/account/', include('rest_auth.urls')),
path('api/v1/account/register/', include('rest_auth.registration.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')), path('api-auth/', include('rest_framework.urls')),
] ]