Feature: password reset (#4289)

This commit is contained in:
shamoon 2023-09-30 18:17:42 -07:00 committed by GitHub
parent cdcd22e6a6
commit be6506da08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 544 additions and 173 deletions

View file

@ -0,0 +1,8 @@
from django.conf import settings as django_settings
def settings(request):
return {
"EMAIL_ENABLED": django_settings.EMAIL_HOST != "localhost"
or django_settings.EMAIL_HOST_USER != "",
}