SECURITY: Add confirmation screen when connecting associated accounts

This commit is contained in:
David Taylor
2019-07-17 12:34:02 +01:00
parent da4c1c5afc
commit 0a6cae654b
15 changed files with 235 additions and 27 deletions

View File

@ -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