13996: More config updates
[arvados.git] / services / api / app / views / admin_notifier / new_user.text.erb
index 1df9fd64642c192f77cb435c3d559d799244e328..20a36afcbf2c8a30e7b2a5f951e09f15fd10eb05 100644 (file)
@@ -1,6 +1,10 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <%
   add_to_message = ''
-  if Rails.configuration.auto_setup_new_users
+  if Rails.configuration.Users["AutoSetupNewUsers"]
     add_to_message = @user.is_invited ? ' and setup' : ', but not setup'
   end
 %>
@@ -10,12 +14,11 @@ A new user has been created<%=add_to_message%>:
 
 This user is <%= @user.is_active ? '' : 'NOT ' %>active.
 
-<% if not @wb_address.empty? -%>
+<% if Rails.configuration.workbench_address -%>
 Please see workbench for more information:
 
-  <%= @wb_address %>
+  <%= Rails.configuration.workbench_address %>
 
 <% end -%>
 Thanks,
 Your friendly Arvados robot.
-