Skip to content

Commit

Permalink
fix(authentication): enableTwoFa handler returning object message (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
kon14 authored Jan 17, 2022
1 parent c8e3ad0 commit 02dc145
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/authentication/src/handlers/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,7 @@ export class LocalHandlers {
},
});

return {
message: 'Verification code sent',
};
return 'Verification code sent';
}

async verifyPhoneNumber(call: ParsedRouterRequest): Promise<UnparsedRouterResponse> {
Expand Down

0 comments on commit 02dc145

Please sign in to comment.