X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/98d5f1dac75a312cc9fb1ef55acf41fb4cd6fc88..2ff5dd54e5daf4dfed3dfd07d161681fc87fe8ff:/apps/workbench/app/views/users/welcome.html.erb diff --git a/apps/workbench/app/views/users/welcome.html.erb b/apps/workbench/app/views/users/welcome.html.erb index 0b98909e67..92fd6dad46 100644 --- a/apps/workbench/app/views/users/welcome.html.erb +++ b/apps/workbench/app/views/users/welcome.html.erb @@ -47,18 +47,9 @@ SPDX-License-Identifier: AGPL-3.0 %> <%= raw(Rails.configuration.Workbench.WelcomePageHTML) %> <% case %> - <% when Rails.configuration.Login.Google.Enable %> - <% when Rails.configuration.Login.OpenIDConnect.Enable %> - <% when Rails.configuration.Login.SSO.Enable %> -
- <%= link_to arvados_api_client.arvados_login_url(return_to: request.url), class: "btn btn-primary" do %> - Log in to <%= Rails.configuration.Workbench.SiteName %> - - <% end %> -
- <% when Rails.configuration.Login.PAM.Enable %> - <% when Rails.configuration.Login.LDAP.Enable %> - <% when Rails.configuration.Login.Test.Enable %> + <% when Rails.configuration.Login.PAM.Enable, + Rails.configuration.Login.LDAP.Enable, + Rails.configuration.Login.Test.Enable %>

username

+ <% else %> +
+ <%= link_to arvados_api_client.arvados_login_url(return_to: request.url), class: "btn btn-primary" do %> + Log in to <%= Rails.configuration.Workbench.SiteName %> + + <% end %> +
<% end %>