1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00

totp to login response

This commit is contained in:
Kyle Spearrin 2017-07-06 21:21:47 -04:00
parent f30faedc87
commit 67a593c0c0

View File

@ -29,6 +29,7 @@ namespace Bit.Core.Models.Api
Username = data.Username; Username = data.Username;
Password = data.Password; Password = data.Password;
Notes = data.Notes; Notes = data.Notes;
Totp = data.Totp;
RevisionDate = cipher.RevisionDate; RevisionDate = cipher.RevisionDate;
Edit = true; Edit = true;
Attachments = AttachmentResponseModel.FromCipher(cipher, globalSettings); Attachments = AttachmentResponseModel.FromCipher(cipher, globalSettings);
@ -52,6 +53,7 @@ namespace Bit.Core.Models.Api
public string Username { get; set; } public string Username { get; set; }
public string Password { get; set; } public string Password { get; set; }
public string Notes { get; set; } public string Notes { get; set; }
public string Totp { get; set; }
public IEnumerable<AttachmentResponseModel> Attachments { get; set; } public IEnumerable<AttachmentResponseModel> Attachments { get; set; }
public DateTime RevisionDate { get; set; } public DateTime RevisionDate { get; set; }
} }