1
0
mirror of https://github.com/bitwarden/server synced 2025-12-13 06:43:45 +00:00

add support for totp secret in login cipher data

This commit is contained in:
Kyle Spearrin
2017-07-06 17:11:05 -04:00
parent 12af24e5f8
commit f30faedc87
3 changed files with 10 additions and 17 deletions

View File

@@ -30,6 +30,9 @@ namespace Bit.Core.Models.Api
[EncryptedString]
[StringLength(10000)]
public string Notes { get; set; }
[EncryptedString]
[StringLength(300)]
public string Totp { get; set; }
public CipherDetails ToCipherDetails(Guid userId)
{