15061: Add missing file
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 9 May 2019 19:27:07 +0000 (15:27 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 9 May 2019 19:29:28 +0000 (15:29 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

services/api/app/views/user_sessions/create.html.erb [new file with mode: 0644]

diff --git a/services/api/app/views/user_sessions/create.html.erb b/services/api/app/views/user_sessions/create.html.erb
new file mode 100644 (file)
index 0000000..2cb6948
--- /dev/null
@@ -0,0 +1,7 @@
+<div style="width:30em; margin:2em auto 0 auto">
+  <h1>Login redirect</h1>
+  <p>This login is linked to federated user <b><%= @user.uuid %></b> on cluster <b><%= @user.uuid[0..4] %></b>.</p>
+  <p><a href="<%=@remotehomeurl%>">Click here log in on cluster <%= @user.uuid[0..4] %>.</a></p>
+  <p>After logging in, you will be returned to this cluster (<%=Rails.configuration.ClusterID%>).</p>
+  <p>To avoid seeing this page, choose <b><%= @user.uuid[0..4] %></b> as the cluster that hosts your user account on the Workbench login page.</p>
+</div>