From: Lucas Di Pentima Date: Thu, 17 Feb 2022 22:19:26 +0000 (-0300) Subject: 17754: Hides account linking buttons when LoginCluster is configured. X-Git-Tag: 2.4.0~70^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/d4d5dbe0e5b30dd6d4fd0022c6b9100a06afab46 17754: Hides account linking buttons when LoginCluster is configured. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- 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 %>