Project

General

Profile

Bug #6868

Updated by Brett Smith over 8 years ago

Steps to reproduce: follow the SSO installation documentation at commit:434be0f. commit:7034b1b.    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: 

 <pre>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' 
 </pre>

Back