From 6fe1757ef536a7797a6bfa61dc903709dab612f4 Mon Sep 17 00:00:00 2001 From: Lea Date: Wed, 4 Jan 2023 18:11:48 +0100 Subject: [PATCH] feat: add warnings to header auth toggles --- .../authentication/authentication.component.html | 6 ++++++ .../authentication/authentication.component.scss | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.html b/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.html index a99491360..cf047a7f3 100644 --- a/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.html +++ b/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.html @@ -23,6 +23,9 @@
Enable Authentication with Header Variable
+
+ Enabling Header Authentication will allow anyone to bypass authentication unless you are using a properly configured reverse proxy. Use with caution! +
@@ -36,6 +39,9 @@
SSO creates new users automatically
+
+ If the user in the Header Authentication variable does not exist, a new user will be created. You can configure the default permissions for new users in the User Management settings. +
diff --git a/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.scss b/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.scss index 4156e205a..0780a0bc0 100644 --- a/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.scss +++ b/src/Ombi/ClientApp/src/app/settings/authentication/authentication.component.scss @@ -12,4 +12,11 @@ ::ng-deep .dark .btn:hover { box-shadow: 0 5px 11px 0 rgba(255, 255, 255, 0.18), 0 4px 15px 0 rgba(255, 255, 255, 0.15); color: inherit; -} \ No newline at end of file +} + +.warning-box { + margin: 16px 0; + color: white; + background-color: $ombi-background-accent; + border-color: $warn; +}