captcha is modified
This commit is contained in:
parent
891291af95
commit
d2380e1e0a
|
@ -81,10 +81,15 @@
|
|||
<mat-error> 비밀번호를 입력하세요 </mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<img [src]="imagePath" />
|
||||
<div style="width: 320px; height: 88px">
|
||||
<img
|
||||
[src]="imagePath"
|
||||
[style.display]="!!imagePath ? 'block' : 'none'"
|
||||
/>
|
||||
</div>
|
||||
<mat-form-field class="w-full">
|
||||
<mat-label>보안코드*</mat-label>
|
||||
<input id="email" matInput [formControlName]="'recaptcha'" />
|
||||
<input id="email" matInput formControlName="captcha" />
|
||||
|
||||
<mat-error *ngIf="signInForm.get('email')?.hasError('required')">
|
||||
보안코드를 입력하세요.
|
||||
|
|
|
@ -52,7 +52,7 @@ export class AuthSignInComponent implements OnInit {
|
|||
[Validators.required, Validators.email],
|
||||
],
|
||||
password: ['admin', Validators.required],
|
||||
// recaptcha: ['', Validators.required],
|
||||
captcha: ['', Validators.required],
|
||||
});
|
||||
this._identityService.captcha().then((result) => {
|
||||
console.log(
|
||||
|
|
Loading…
Reference in New Issue
Block a user