1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-21 03:24:31 -05:00

Do not require uri and password for sites

This commit is contained in:
Kyle Spearrin 2016-10-12 22:41:57 -04:00
parent 8c14b2b177
commit 80e1ba16ad

View File

@ -15,14 +15,12 @@ namespace Bit.Api.Models
[EncryptedString] [EncryptedString]
[StringLength(300)] [StringLength(300)]
public string Name { get; set; } public string Name { get; set; }
[Required]
[EncryptedString] [EncryptedString]
[StringLength(5000)] [StringLength(5000)]
public string Uri { get; set; } public string Uri { get; set; }
[EncryptedString] [EncryptedString]
[StringLength(200)] [StringLength(200)]
public string Username { get; set; } public string Username { get; set; }
[Required]
[EncryptedString] [EncryptedString]
[StringLength(300)] [StringLength(300)]
public string Password { get; set; } public string Password { get; set; }