Skip to content

Commit

Permalink
fix: use pointer of string for PasswordIdentifier in example code (#2421
Browse files Browse the repository at this point in the history
)
  • Loading branch information
johejo committed Apr 24, 2022
1 parent 85a90c8 commit 61f12e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/go/selfservice/login/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func performLogin() *ory.SuccessfulSelfServiceLoginWithoutBrowser {
ory.SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody(&ory.SubmitSelfServiceLoginFlowWithPasswordMethodBody{
Method: "password",
Password: password,
PasswordIdentifier: email,
PasswordIdentifier: &email,
}),
).Execute()
pkg.SDKExitOnError(err, res)
Expand Down

0 comments on commit 61f12e7

Please sign in to comment.