@progalaxyelabs/ngx-stonescriptphp-client 1.23.1 → 1.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2859,15 +2859,15 @@ class TenantLoginComponent {
2859
2859
  </button>
2860
2860
  }
2861
2861
  </div>
2862
+ }
2862
2863
 
2863
- <!-- Switch to Email/Password -->
2864
- @if (isProviderEnabled('emailPassword') && effectiveOauthProviders.length > 0) {
2865
- <div class="switch-method">
2866
- <a href="#" (click)="toggleAuthMethod($event)">
2867
- {{ useOAuth ? 'Use email/password instead' : 'Use OAuth instead' }}
2868
- </a>
2869
- </div>
2870
- }
2864
+ <!-- Switch between OAuth and Email/Password -->
2865
+ @if (isProviderEnabled('emailPassword') && effectiveOauthProviders.length > 0 && !otpActive) {
2866
+ <div class="switch-method">
2867
+ <a href="#" (click)="toggleAuthMethod($event)">
2868
+ {{ useOAuth ? 'Use email/password instead' : 'Use OAuth instead' }}
2869
+ </a>
2870
+ </div>
2871
2871
  }
2872
2872
 
2873
2873
  <!-- Error Message -->
@@ -3140,15 +3140,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
3140
3140
  </button>
3141
3141
  }
3142
3142
  </div>
3143
+ }
3143
3144
 
3144
- <!-- Switch to Email/Password -->
3145
- @if (isProviderEnabled('emailPassword') && effectiveOauthProviders.length > 0) {
3146
- <div class="switch-method">
3147
- <a href="#" (click)="toggleAuthMethod($event)">
3148
- {{ useOAuth ? 'Use email/password instead' : 'Use OAuth instead' }}
3149
- </a>
3150
- </div>
3151
- }
3145
+ <!-- Switch between OAuth and Email/Password -->
3146
+ @if (isProviderEnabled('emailPassword') && effectiveOauthProviders.length > 0 && !otpActive) {
3147
+ <div class="switch-method">
3148
+ <a href="#" (click)="toggleAuthMethod($event)">
3149
+ {{ useOAuth ? 'Use email/password instead' : 'Use OAuth instead' }}
3150
+ </a>
3151
+ </div>
3152
3152
  }
3153
3153
 
3154
3154
  <!-- Error Message -->