Skip to content

Commit 36b9200

Browse files
committed
Add check for registration verification to the register email form.
1 parent c13d23d commit 36b9200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/register-email-form/register-email-form.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1>{{MESSAGE_PREFIX + '.header'|translate}}</h1>
4747
(showNotification)="showNotification($event)"></ds-google-recaptcha>
4848
</div>
4949

50-
<ng-container *ngIf="((googleRecaptchaService.captchaVersion() | async) !== 'v2' && (googleRecaptchaService.captchaMode() | async) === 'invisible'); else v2Invisible">
50+
<ng-container *ngIf="(!registrationVerification || ((googleRecaptchaService.captchaVersion() | async) !== 'v2' && (googleRecaptchaService.captchaMode() | async) === 'invisible')); else v2Invisible">
5151
<button class="btn btn-primary" [disabled]="form.invalid || registrationVerification && !isRecaptchaCookieAccepted() || disableUntilChecked" (click)="register()">
5252
{{ MESSAGE_PREFIX + '.submit' | translate }}
5353
</button>

0 commit comments

Comments
 (0)