Add provider_id to cookie data
This commit is contained in:
@@ -198,7 +198,7 @@ func LoginCallback(rw http.ResponseWriter, req *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
cookieData := CookieID{Id: user.Id, UserName: user.Name, UserAvatar: user.Avatar}
|
||||
cookieData := CookieID{Id: user.Id, UserName: user.Name, UserAvatar: user.Avatar, ProviderId: user.ProviderUserId}
|
||||
|
||||
host := "localhost"
|
||||
if req.Host != "" {
|
||||
|
||||
Reference in New Issue
Block a user