Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sagishm authored Sep 21, 2023
1 parent 402ee34 commit b7db690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GigyaTfa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func registeredEmailsResult(result: RegisteredEmailsResult) {
case .registeredEmails(let emails):
registeredEmailsResolver?.sendEmailCode(with: selectedEmail, registeredEmailsResult(result:))
case .emailVerificationCodeSent(let resolver):
resolver.verifyCode(provider: .email, verificationCode: code, completion: { result in
resolver.verifyCode(provider: .email, verificationCode: code, rememberDevice: true, completion: { result in
switch result {
case .resolved:
// Flow completed.
Expand Down Expand Up @@ -114,7 +114,7 @@ func registerPhoneResult(result: RegisterPhonesResult) {
case .verificationCodeSent(let resolver):
// Verification code was sent to registered phone number. At this point you should update your UI to support verification input.
// After UI has been updated and the verification code is available, you are able to use:
resolver.verifyCode(provider: .phone, verificationCode: code, completion: { result in
resolver.verifyCode(provider: .phone, verificationCode: code, rememberDevice: true, completion: { result in
switch result {
case .resolved:
// Flow completed.
Expand Down

0 comments on commit b7db690

Please sign in to comment.