mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 00:53:20 +08:00
add support for totp secret in login cipher data
This commit is contained in:
@@ -34,6 +34,9 @@ namespace Bit.Core.Models.Api
|
||||
[EncryptedString]
|
||||
[StringLength(10000)]
|
||||
public string Notes { get; set; }
|
||||
[EncryptedString]
|
||||
[StringLength(300)]
|
||||
public string Totp { get; set; }
|
||||
|
||||
public virtual Cipher ToCipher(Guid userId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user