Commit graph

5 commits

Author SHA1 Message Date
Lin Jen-Shin
d0afab482f Disable SAML if OmniAuth is disabled
We also try to unify the way we setup OmniAuth, and how we check
if it's enabled or not.
2018-07-20 18:54:46 +08:00
Lin Jen-Shin
3b8b38fb0f If omniauth_auto_sign_in_with_provider is set,
it also means we're using omniauth, so we need to set it up.
2018-07-02 16:46:24 +08:00
James Edwards-Jones
60b480fe81 OmniauthInitializer refactoring 2018-03-22 00:24:53 +00:00
James Edwards-Jones
97cf5d737d Omniauth callbacks moved to methods 2018-03-20 17:39:53 +00:00
James Edwards-Jones
da2191afa0 OmniauthInitializer created to improve devise.rb
This should simplify refactoring and allow testing
2018-03-20 17:39:52 +00:00