Skip to content

Commit

Permalink
feat: added SetPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Nov 17, 2023
1 parent f0b666b commit 03f889c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keycloak/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (g *gkeycloak) UpdateUser( firstName string, lastName string, username stri
*/
func (g *gkeycloak) SetPassword(userID, realm, password string, temporary bool) error {
g.debugPrint("into keycloak SetPassword")
err = g.client.SetPassword(g.ctx, g.adminJWT.AccessToken, userId, g.realm, password, temporary)
err := g.client.SetPassword(g.ctx, g.adminJWT.AccessToken, userId, g.realm, password, temporary)

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

undefined: userId

Check failure on line 85 in keycloak/api.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

undefined: userId
if err != nil {
return err
}
Expand Down

0 comments on commit 03f889c

Please sign in to comment.