Actions
Bug #6868
closed[SSO] Template calls undefined method after fresh local accounts installation
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
SSO
Target version:
-
Start date:
08/03/2015
Due date:
% Done:
0%
Estimated time:
Story points:
-
Description
Steps to reproduce: follow the SSO installation documentation at 434be0f. Configure local accounts, and create one using the Rails console. After you finish setting up, try to log in with your created account. You'll get a 500 response, with this error in the logs:
Started GET "/" for 127.0.0.1 at 2015-08-03 17:56:41 +0000 Processing by AuthController#welcome as HTML Rendered auth/welcome.html.erb within layouts/application (0.7ms) Rendered application/_links.html.erb (41.6ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (undefined method `edit_user_registration_path' for #<#<Class:0x000000035533d8>:0x00000003551308>): 2: <%- if current_user %> 3: <%= link_to "Sign out", :destroy_user_session, class: "btn btn-default btn-links", role: "button" %> 4: <%- if controller_name != 'registrations' %> 5: <%= link_to "Update account", :edit_user_registration, class: "btn btn-default btn-links", role: "button" %> 6: <% end %> 7: <% end -%> 8: app/views/application/_links.html.erb:5:in `_app_views_application__links_html_erb___1746417297839545953_36443320' app/views/layouts/application.html.erb:34:in `_app_views_layouts_application_html_erb___2853150743743458663_37356600'
Updated by ming fang over 9 years ago
This problem seems to go away after setting
allow_account_registration: true
in application.yml.
Updated by Ward Vandewege over 4 years ago
- Target version deleted (
Arvados Future Sprints)
Actions