Skip to content

Commit a16139c

Browse files
authored
Merge pull request DSpace#2931 from dspace-unimr/fix-#2918-new-user-registration-does-not-work
Add check for registration verification to the register email form.
2 parents c13d23d + 36b9200 commit a16139c

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)