From d4d5dbe0e5b30dd6d4fd0022c6b9100a06afab46 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 17 Feb 2022 19:19:26 -0300 Subject: [PATCH] 17754: Hides account linking buttons when LoginCluster is configured. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- apps/workbench/app/views/users/link_account.html.erb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/workbench/app/views/users/link_account.html.erb b/apps/workbench/app/views/users/link_account.html.erb index 86a0446e76..e45073e288 100644 --- a/apps/workbench/app/views/users/link_account.html.erb +++ b/apps/workbench/app/views/users/link_account.html.erb @@ -75,6 +75,8 @@ SPDX-License-Identifier: AGPL-3.0 %> }); <% end %> +<% if Rails.configuration.Login.LoginCluster.empty? %> + + +<% else %> +
+Self-serve account linking is not supported on this cluster. Please contact your Arvados administrator.
+<% end %> -- 2.30.2