File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
projects/fusio-sdk/src/lib/component/password/reset Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ <h1 class="p-3 m-0 lead">Password reset</h1>
1313 </ div >
1414 < div class ="mb-3 " *ngIf ="captchaKey ">
1515 < label > Captcha:</ label >
16- < ngx-recaptcha2 #captchaElem [siteKey] ="captchaKey " (success) ="setCaptcha($event) " [useGlobalDomain] ="false " formControlName =" recaptcha " > </ ngx-recaptcha2 >
16+ < ngx-recaptcha2 #captchaElem [siteKey] ="captchaKey " (success) ="setCaptcha($event) " [useGlobalDomain] ="false "> </ ngx-recaptcha2 >
1717 </ div >
1818 < button type ="submit " class ="btn btn-primary " [disabled] ="loading ">
1919 < span *ngIf ="loading " class ="spinner-border spinner-border-sm " role ="status " aria-hidden ="true "> </ span >
Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ export class ResetComponent implements OnInit {
2626 }
2727
2828 ngOnInit ( ) : void {
29- let captchaKey = this . config . getRecpatcha ( ) ;
30- if ( captchaKey ) {
31- this . captchaKey = captchaKey ;
32- }
29+ this . captchaKey = this . config . getRecpatcha ( ) ;
3330 }
3431
3532 public async doReset ( ) {
You can’t perform that action at this time.
0 commit comments