diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 76b1228..a8297d2 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -24,9 +24,6 @@ success = _("Your account has been successfully linked to your institutional credentials. You will now be able to sign in with them.") # rubocop:enable LineLength end - existing_user.update_attributes( - shibboleth_id: session["devise.shibboleth_data"][:uid] - ) end unless existing_user.get_locale.nil? session[:locale] = existing_user.get_locale diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 8a8324c..5a8390a 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -39,10 +39,12 @@
<%= _("This will create an account and link it to your credentials.") %>
-
- <%= render partial: 'shared/create_account_form', locals: {extended: false} %>
-
-
+ <%= render partial: 'shared/create_account_form' %>
+
+