1
0
mirror of https://github.com/bitwarden/server synced 2025-12-14 07:13:39 +00:00

increase encrypted field sizes to 1000

This commit is contained in:
Kyle Spearrin
2017-07-27 14:08:39 -04:00
parent 2492491f32
commit c991d48cbc
5 changed files with 11 additions and 11 deletions

View File

@@ -16,22 +16,22 @@ namespace Bit.Core.Models.Api
public bool Favorite { get; set; }
[Required]
[EncryptedString]
[StringLength(300)]
[StringLength(1000)]
public string Name { get; set; }
[EncryptedString]
[StringLength(10000)]
public string Uri { get; set; }
[EncryptedString]
[StringLength(300)]
[StringLength(1000)]
public string Username { get; set; }
[EncryptedString]
[StringLength(300)]
[StringLength(1000)]
public string Password { get; set; }
[EncryptedString]
[StringLength(10000)]
public string Notes { get; set; }
[EncryptedString]
[StringLength(300)]
[StringLength(1000)]
public string Totp { get; set; }
public CipherDetails ToCipherDetails(Guid userId)