mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-10 00:18:57 +00:00
Fix: disable email workflow type if email not enabled
This commit is contained in:
@@ -1714,6 +1714,8 @@ class UiSettingsView(GenericAPIView):
|
||||
manager.get_outlook_authorization_url()
|
||||
)
|
||||
|
||||
ui_settings["email_enabled"] = settings.EMAIL_ENABLED
|
||||
|
||||
user_resp = {
|
||||
"id": user.id,
|
||||
"username": user.username,
|
||||
|
Reference in New Issue
Block a user