mirror of
https://github.com/bitwarden/server
synced 2026-01-05 10:03:23 +00:00
[SM-240] Add encrypted length limits to request models (#3095)
This commit is contained in:
@@ -8,6 +8,7 @@ public class ServiceAccountUpdateRequestModel
|
||||
{
|
||||
[Required]
|
||||
[EncryptedString]
|
||||
[EncryptedStringLength(1000)]
|
||||
public string Name { get; set; }
|
||||
|
||||
public ServiceAccount ToServiceAccount(Guid id)
|
||||
|
||||
Reference in New Issue
Block a user