mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-02 01:42:50 -05: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