diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 0572dd2..f920923 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -1,16 +1,4 @@ class SessionsController < Devise::SessionsController - - # POST /auth/:provider/callback - # --------------------------------------------------------------------- -=begin - def oauth_create - existing_user = User.find_by_email(params[:user][:email]) - - unless params[:omniauth].nil? - existing_user = UserIdentifier.find_by(identifier: params[:omniauth][:auth]) - end - end -=end # Capture the user's shibboleth id if they're coming in from an IDP # --------------------------------------------------------------------- @@ -35,5 +23,4 @@ session[:locale] = nil set_gettext_locale #Method defined at controllers/application_controller.rb end - end \ No newline at end of file diff --git a/app/views/orgs/shibboleth_ds.html.erb b/app/views/orgs/shibboleth_ds.html.erb index 0d6cbce..1358473 100644 --- a/app/views/orgs/shibboleth_ds.html.erb +++ b/app/views/orgs/shibboleth_ds.html.erb @@ -1,5 +1,3 @@ -<% javascript 'views/orgs/shibboleth_ds.js'%> -

Find your institution to sign in

@@ -42,8 +40,8 @@
<% end %> -