Skip to content

Commit

Permalink
chore: update ory/x
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 4, 2023
1 parent 08894f9 commit f99cac9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ require (
github.com/ory/jsonschema/v3 v3.0.7
github.com/ory/mail/v3 v3.0.0
github.com/ory/nosurf v1.2.7
github.com/ory/x v0.0.525-0.20230102104147-8c84e71d5667
github.com/ory/x v0.0.525
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
github.com/pkg/errors v0.9.1
github.com/pquerna/otp v1.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,8 @@ github.com/ory/sessions v1.2.2-0.20220110165800-b09c17334dc2 h1:zm6sDvHy/U9XrGpi
github.com/ory/sessions v1.2.2-0.20220110165800-b09c17334dc2/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
github.com/ory/viper v1.7.5 h1:+xVdq7SU3e1vNaCsk/ixsfxE4zylk1TJUiJrY647jUE=
github.com/ory/viper v1.7.5/go.mod h1:ypOuyJmEUb3oENywQZRgeAMwqgOyDqwboO1tj3DjTaM=
github.com/ory/x v0.0.525-0.20230102104147-8c84e71d5667 h1:ClDvaBYgUljmYYVveRNNKJvP2sjDkxGRB/ZBqummtV0=
github.com/ory/x v0.0.525-0.20230102104147-8c84e71d5667/go.mod h1:XBqhPZRppPHTxtsE0l0oI/B2Onf1QJtMRGPh3CpEpA0=
github.com/ory/x v0.0.525 h1:wA2kGUvZB1TbNOnKbtQ5b7bWiGqWJgf6HLrii2uPYSY=
github.com/ory/x v0.0.525/go.mod h1:XBqhPZRppPHTxtsE0l0oI/B2Onf1QJtMRGPh3CpEpA0=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=
Expand Down
6 changes: 1 addition & 5 deletions identity/credentials_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ func UpgradeWebAuthnCredentials(i *Identity, c *Credentials) (err error) {
}

c.Config, err = sjson.SetBytes(c.Config, fmt.Sprintf("credentials.%d.is_passwordless", index), false)
if err != nil {
return false
}

return true
return err == nil
})
if err != nil {
return errors.WithStack(err)
Expand Down

0 comments on commit f99cac9

Please sign in to comment.