mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-28125] einterface/oauthprovide: return parsing errors (#15426)
* einterface/oauthprovide: return parsing errors * Update app/oauth.go * reflect review comments * fix var name error Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
90738de75f
commit
c05ee81c9f
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
type OauthProvider interface {
|
||||
GetUserFromJson(data io.Reader) *model.User
|
||||
GetUserFromJson(data io.Reader) (*model.User, error)
|
||||
}
|
||||
|
||||
var oauthProviders = make(map[string]OauthProvider)
|
||||
|
||||
Reference in New Issue
Block a user