app/controllers/authentications_controller.rb in gds-sso-0.5.1 vs app/controllers/authentications_controller.rb in gds-sso-0.5.2
- old
+ new
@@ -1,9 +1,14 @@
class AuthenticationsController < ApplicationController
before_filter :authenticate_user!, :only => :callback
+ layout false, :only => :callback
def callback
redirect_to session["return_to"] || '/'
+ end
+
+ def failure
+
end
def sign_out
cookie_key = Rails.application.config.session_options[:key]
cookies.delete(cookie_key)