forked from External/greenlight
Enableing SAML auth co-exist with other OAuth services (#215)
* Enableing SAML auth co-exist with other OAuth services * removing cert file
This commit is contained in:
committed by
Jesus Federico
parent
042a4738f4
commit
5d56d10bb9
@ -23,10 +23,6 @@ class SessionsController < ApplicationController
|
||||
if Rails.application.config.omniauth_ldap
|
||||
redirect_to "#{relative_root}/auth/ldap"
|
||||
end
|
||||
#If SAML is enabled, just route to it instead.
|
||||
if Rails.application.config.omniauth_saml
|
||||
redirect_to "#{relative_root}/auth/saml"
|
||||
end
|
||||
end
|
||||
|
||||
def create
|
||||
|
Reference in New Issue
Block a user