From de80bf8dbcc79a50facf0334d857d88e3c8d4fe0 Mon Sep 17 00:00:00 2001 From: pgiertych Date: Wed, 10 Apr 2024 18:17:06 +0200 Subject: [PATCH] change max length for token name --- src/app/shared/users/access-tokens/access-tokens.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/users/access-tokens/access-tokens.component.ts b/src/app/shared/users/access-tokens/access-tokens.component.ts index 615ebb4..8a076f1 100644 --- a/src/app/shared/users/access-tokens/access-tokens.component.ts +++ b/src/app/shared/users/access-tokens/access-tokens.component.ts @@ -28,7 +28,7 @@ export class AccessTokensComponent implements OnInit { ngOnInit() { this.requestForm = this.formBuilder.group({ - name: ['', [Validators.required, Validators.minLength(1), Validators.maxLength(30)]], + name: ['', [Validators.required, Validators.minLength(1), Validators.maxLength(16)]], }) this.tokens = this.tokenService.getAll();