mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-19 22:38:13 +00:00
Fix: disable email workflow type if email not enabled
This commit is contained in:
1 parent
5007855904
commit
8291ec17d4
7 files changed
+46
-20
No files matched your search
@@ -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