Skip to content

Commit

Permalink
fix oauth session pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuchaillot committed Sep 11, 2020
1 parent d518180 commit 67d43e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/oauth_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func (o *OAuthManager) HandleAccess(r *http.Request) *osin.Response {

if ar := o.OsinServer.HandleAccessRequest(resp, r); ar != nil {

session := user.SessionState{Mutex:&sync.RWMutex{}}
session := &user.SessionState{Mutex:&sync.RWMutex{}}
if ar.Type == osin.PASSWORD {
username = r.Form.Get("username")
password := r.Form.Get("password")
Expand Down

0 comments on commit 67d43e9

Please sign in to comment.