diff --git a/src/Core/Models/Api/CipherLoginModel.cs b/src/Core/Models/Api/CipherLoginModel.cs index 01aa6cbaab..f243cbc741 100644 --- a/src/Core/Models/Api/CipherLoginModel.cs +++ b/src/Core/Models/Api/CipherLoginModel.cs @@ -52,7 +52,7 @@ namespace Bit.Core.Models.Api [EncryptedStringLength(1000)] public string Username { get; set; } [EncryptedString] - [EncryptedStringLength(1000)] + [EncryptedStringLength(5000)] public string Password { get; set; } public DateTime? PasswordRevisionDate { get; set; } [EncryptedString] diff --git a/src/Core/Models/Api/CipherPasswordHistoryModel.cs b/src/Core/Models/Api/CipherPasswordHistoryModel.cs index 9f2d42802c..25ba040053 100644 --- a/src/Core/Models/Api/CipherPasswordHistoryModel.cs +++ b/src/Core/Models/Api/CipherPasswordHistoryModel.cs @@ -16,7 +16,7 @@ namespace Bit.Core.Models.Api } [EncryptedString] - [EncryptedStringLength(2000)] + [EncryptedStringLength(5000)] [Required] public string Password { get; set; } [Required]