From 7aaa9e58e90b5f37274f54d0d59d2b24af9ab61d Mon Sep 17 00:00:00 2001 From: Chaim Lev Ari Date: Wed, 2 Jan 2019 16:24:10 +0200 Subject: [PATCH] refactor(auth): move oauth info to component --- .../oauth/components/oauth-settings/oauth-settings.html | 6 ++++++ .../settings/authentication/settingsAuthentication.html | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/extensions/oauth/components/oauth-settings/oauth-settings.html b/app/extensions/oauth/components/oauth-settings/oauth-settings.html index 49f923e12..f73415e25 100644 --- a/app/extensions/oauth/components/oauth-settings/oauth-settings.html +++ b/app/extensions/oauth/components/oauth-settings/oauth-settings.html @@ -1,4 +1,10 @@ +
+ + When using OAuth authentication, Portainer will allow users to optionally authenticate with an OAuth authorization server. + +
+
OAuth Configuration
diff --git a/app/portainer/views/settings/authentication/settingsAuthentication.html b/app/portainer/views/settings/authentication/settingsAuthentication.html index 8c46a5aca..ebab9dcf2 100644 --- a/app/portainer/views/settings/authentication/settingsAuthentication.html +++ b/app/portainer/views/settings/authentication/settingsAuthentication.html @@ -62,11 +62,7 @@ When using LDAP authentication, Portainer will delegate user authentication to a LDAP server and fallback to internal authentication if LDAP authentication fails.
-
- - When using OAuth authentication, Portainer will allow users to optionally authenticate with an OAuth authorization server. - -
+