We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c9e41 commit bacbd70Copy full SHA for bacbd70
src/api/api.service.ts
@@ -525,7 +525,9 @@ export class ApiService {
525
526
async loginWithOtp(loginDto: LoginDto, authHeader: null | string): Promise<SignupResponse> {
527
/* Execution flow
528
- 1. Verify OTP
+ 1. Check if ALLOW_DEFAULT_OTP is set to true.
529
+ 2. If true check if user number is listed in DEFAULT_OTP_USERS, if yes send sucess if OTP matches.
530
+ 3. else; Verify OTP via fusion auth.
531
2. If invalid OTP, throw error; else continue with next steps
532
3. Check if user exists for the given applicationId.
533
3.1. If existing user, reset the password.
0 commit comments