mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
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