captcha is modified

This commit is contained in:
병준 박 2022-08-06 04:37:14 +00:00
parent 891291af95
commit d2380e1e0a
2 changed files with 8 additions and 3 deletions

View File

@ -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')">
보안코드를 입력하세요.

View File

@ -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(