Skip to content

Commit

Permalink
Merge pull request #544 from Cafnanc/release-3.0.1
Browse files Browse the repository at this point in the history
Update otp.page.ts
  • Loading branch information
Cafnanc authored Aug 6, 2024
2 parents fd4a889 + 953df62 commit 996ef1d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/modules/auth/otp/otp.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { ProfileService } from 'src/app/core/services/profile/profile.service';
import { CommonRoutes } from 'src/global.routes';
import { Location } from '@angular/common';
import { RecaptchaComponent } from 'ng-recaptcha';
import { environment } from 'src/environments/environment';

@Component({
selector: 'app-otp',
Expand All @@ -25,7 +26,7 @@ export class OtpPage implements OnInit {
'border-radius': '8px'
}
};
siteKey = window['env']?.recaptchaSiteKey ? window['env']?.recaptchaSiteKey.recaptchaSiteKey :""
siteKey = environment?.recaptchaSiteKey ? environment?.recaptchaSiteKey :""
resetPasswordData = { email: null, password: null, otp: null };
public headerConfig: any = {
// menu: true,
Expand All @@ -43,8 +44,8 @@ export class OtpPage implements OnInit {
labels;
signupData: any;
checked: boolean = false;
privacyPolicyUrl = window['env'].privacyPolicyUrl;
termsOfServiceUrl = window['env'].termsOfServiceUrl;
privacyPolicyUrl = environment.privacyPolicyUrl;
termsOfServiceUrl = environment.termsOfServiceUrl;
captchaToken:any="";
recaptchaResolved: boolean = this.siteKey ? false : true;
showOtp:any = false;
Expand Down

0 comments on commit 996ef1d

Please sign in to comment.