mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
SECURITY: Add confirmation screen when connecting associated accounts
This commit is contained in:
@ -40,6 +40,13 @@ class Auth::Authenticator
|
||||
""
|
||||
end
|
||||
|
||||
# return a string describing the connected account
|
||||
# for a given OmniAuth::AuthHash. Used in the confirmation screen
|
||||
# when connecting accounts
|
||||
def description_for_auth_hash(user)
|
||||
""
|
||||
end
|
||||
|
||||
# can authorisation for this provider be revoked?
|
||||
def can_revoke?
|
||||
false
|
||||
|
Reference in New Issue
Block a user