Skip to content

Commit

Permalink
Update api/token.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
  • Loading branch information
J0 and hf committed Oct 10, 2022
1 parent 8b32176 commit f6aa576
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,9 @@ func (a *API) issueRefreshToken(ctx context.Context, conn *storage.Connection, u
}, nil
}

func (a *API) updateMFASessionAndClaims(r *http.Request, ctx context.Context, conn *storage.Connection, user *models.User, authenticationMethod models.AuthenticationMethod, grantParams models.GrantParams) (*AccessTokenResponse, error) {
func (a *API) updateMFASessionAndClaims(r *http.Request, user *models.User, authenticationMethod models.AuthenticationMethod, grantParams models.GrantParams) (*AccessTokenResponse, error) {
ctx := r.Context()
conn := a.db
config := a.config
var tokenString string
var refreshToken *models.RefreshToken
Expand Down

0 comments on commit f6aa576

Please sign in to comment.