Skip to content

Commit

Permalink
Add the revokeOtherSessions attribute in LoginOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dorsha committed Nov 16, 2024
1 parent 9b3d299 commit d717cfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sdks/core-js-sdk/test/sdk/otp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ describe('otp', () => {
it('should send the correct request with sign up options', () => {
sdk.otp.signUpOrIn.email('loginId', {
templateId: 'foo',
revokeOtherSessions: true,
templateOptions: {
ble: 'blue',
},
Expand All @@ -173,6 +174,7 @@ describe('otp', () => {
loginId: 'loginId',
loginOptions: {
templateId: 'foo',
revokeOtherSessions: true,
templateOptions: {
ble: 'blue',
},
Expand Down

0 comments on commit d717cfa

Please sign in to comment.