로그인 수정

This commit is contained in:
Park Byung Eun 2022-09-13 08:35:41 +00:00
parent c10a628817
commit 2568703062
3 changed files with 29 additions and 3 deletions

View File

@ -50,6 +50,7 @@ import { ListMembersResponse } from 'app/modules/proto/c2se/member_pb';
import { ListMemberClassesResponse } from 'app/modules/proto/c2se/member_class_pb';
import { MemberClass } from 'app/modules/proto/models/member_class_pb';
import { MemberBankDepositService } from 'app/modules/polyglot/member_bank_deposit/services/member_bank_deposit.service';
import { environment } from 'environments/environment';
@Component({
selector: 'deposit-list',
@ -76,6 +77,9 @@ import { MemberBankDepositService } from 'app/modules/polyglot/member_bank_depos
grid-template-columns: 20px 80px 100px auto 60px 140px 120px 140px 80px 120px 80px 60px;
}
}
.mat-tooltip {
white-space: pre-line;
}
`,
],
encapsulation: ViewEncapsulation.None,
@ -299,6 +303,15 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
});
}
__getMemberParentTooltip(depositMember: MemberBankDepositModel): void {
const memberId = depositMember.getMember()?.getId();
const member = this.__getMemberById(memberId);
/* const resultTooltip = `
\n -바카라: ${tempRate}% \n -룰렛: ${tempRate}% \n -드레곤타이거: ${tempRate}% \n -그외:${tempRate}% \n 슬롯:${tempRate}% \n 카지노루징: ${tempRate}% \n 슬롯루징: ${tempRate}%
`; */
}
__getMemberRefferByMemberId(
memberId: string | undefined
): string | undefined {

View File

@ -45,6 +45,9 @@
<mat-error *ngIf="signInForm.get('email')?.hasError('email')">
Please enter a valid email address
</mat-error>
<mat-error *ngIf="signInForm.get('email')?.hasError('pattern')">
올바른 아이디를 입력하세요.
</mat-error>
</mat-form-field>
<!-- Password field -->
@ -95,10 +98,14 @@
formControlName="captchaSecurityCode"
/>
<mat-error *ngIf="signInForm.get('email')?.hasError('required')">
<mat-error
*ngIf="signInForm.get('captchaSecurityCode')?.hasError('required')"
>
보안코드를 입력하세요.
</mat-error>
<mat-error *ngIf="signInForm.get('email')?.hasError('email')">
<mat-error
*ngIf="signInForm.get('captchaSecurityCode')?.hasError('email')"
>
유효한 보안코드가 아닙니다.
</mat-error>
</mat-form-field>

View File

@ -47,7 +47,13 @@ export class AuthSignInComponent implements OnInit {
ngOnInit(): void {
// Create the form
this.signInForm = this._formBuilder.group({
email: ['administrator', [Validators.required]],
email: [
'administrator',
[
Validators.required,
Validators.pattern('^[a-zA-Z][a-zA-Z0-9]{6,12}\\w'),
],
],
password: ['beteran', Validators.required],
captchaSecurityCode: ['', Validators.required],
});