-
🔐 OTP Verification
+ @if(!isOtpSent()){
+ 🔐 Login
+ }
+
+ @if(isOtpSent() && !isVerified()){
+ 🔐 OTP Verification
+ }
@if (!isOtpSent()) {
@@ -35,17 +41,5 @@
}
-
-
-
-
\ No newline at end of file
diff --git a/src/app/interceptors/auth-interceptor.ts b/src/app/interceptors/auth-interceptor.ts
index 4cee5ea..587272f 100644
--- a/src/app/interceptors/auth-interceptor.ts
+++ b/src/app/interceptors/auth-interceptor.ts
@@ -9,93 +9,94 @@ import {
import { BehaviorSubject, catchError, filter, Observable, switchMap, take, throwError } from 'rxjs';
import { AuthService } from '../auth/auth.service';
+let refreshInProgress = false;
+const refreshSubject = new BehaviorSubject