Commit 06d15eef authored by James Addison's avatar James Addison
Browse files

Add PhabricatorProvider.IsSameUser implementation

(cherry picked from commit f5e90eee)
parent 79566eb5
Pipeline #28571 passed with stage
in 9 minutes and 43 seconds
......@@ -106,3 +106,7 @@ func (m *PhabricatorProvider) GetSSOSettings(config *model.Config, service strin
func (m *PhabricatorProvider) GetUserFromIdToken(idToken string) (*model.User, error) {
return nil, nil
}
func (m *PhabricatorProvider) IsSameUser(dbUser, oauthUser *model.User) bool {
return dbUser.AuthData == oauthUser.AuthData
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment