Commit fd7e7e5

mo <mo.khan@gmail.com>
2018-09-09 19:01:38
move SAMLRespondable to the one controller that uses it.
1 parent 1803b6a
app/controllers/application_controller.rb
@@ -1,7 +1,6 @@
 # frozen_string_literal: true
 
 class ApplicationController < ActionController::Base
-  include SamlRespondable
   protect_from_forgery with: :exception
   before_action :authenticate!
   before_action :authenticate_mfa!
app/controllers/sessions_controller.rb
@@ -1,6 +1,7 @@
 # frozen_string_literal: true
 
 class SessionsController < ApplicationController
+  include SamlRespondable
   skip_before_action :verify_authenticity_token, only: [:new, :destroy]
   skip_before_action :authenticate!, only: [:new, :create, :destroy]