mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +01:00
Feature: password reset (#4289)
This commit is contained in:
parent
cdcd22e6a6
commit
be6506da08
11 changed files with 544 additions and 173 deletions
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 != "",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue