mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-28 01:26:14 +00:00
Feature: password reset (#4289)
This commit is contained in:
8
src/documents/context_processors.py
Normal file
8
src/documents/context_processors.py
Normal 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 != "",
|
||||
}
|
Reference in New Issue
Block a user