Skip to content

Commit

Permalink
removes google recaptcha and security service request id from totp
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Jul 16, 2024
1 parent 91de44c commit cf3d581
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ts/recipe/totp/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ export type APIInterface = {
| GeneralErrorResponse
>);

// we don't need to pass google recaptcha or security service request id here because the device is already verified
// since this only happens after you have a session token.
verifyDevicePOST:
| undefined
| ((input: {
googleRecaptchaToken?: string;
securityServiceRequestId?: string;
deviceName: string;
totp: string;
options: APIOptions;
Expand All @@ -267,11 +267,11 @@ export type APIInterface = {
| GeneralErrorResponse
>);

// we don't need to pass google recaptcha or security service request id here because the device is already verified
// since this only happens after you have a session token.
verifyTOTPPOST:
| undefined
| ((input: {
googleRecaptchaToken?: string;
securityServiceRequestId?: string;
totp: string;
options: APIOptions;
session: SessionContainerInterface;
Expand Down

0 comments on commit cf3d581

Please sign in to comment.