File tree 2 files changed +2
-5
lines changed
projects/fusio-sdk/src/lib/component/password/reset 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>
13
13
</ div >
14
14
< div class ="mb-3 " *ngIf ="captchaKey ">
15
15
< 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 >
17
17
</ div >
18
18
< button type ="submit " class ="btn btn-primary " [disabled] ="loading ">
19
19
< 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 {
26
26
}
27
27
28
28
ngOnInit ( ) : void {
29
- let captchaKey = this . config . getRecpatcha ( ) ;
30
- if ( captchaKey ) {
31
- this . captchaKey = captchaKey ;
32
- }
29
+ this . captchaKey = this . config . getRecpatcha ( ) ;
33
30
}
34
31
35
32
public async doReset ( ) {
You can’t perform that action at this time.
0 commit comments