Commit fd7e7e5
Changed files (2)
app
controllers
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]