Refactor User model, extract PamAuthenticable, LdapAuthenticable (#10217)
This commit is contained in:
@ -7,6 +7,8 @@ module Omniauthable
|
||||
TEMP_EMAIL_REGEX = /\Achange@me/
|
||||
|
||||
included do
|
||||
devise :omniauthable
|
||||
|
||||
def omniauth_providers
|
||||
Devise.omniauth_configs.keys
|
||||
end
|
||||
|
Reference in New Issue
Block a user