mirror of
https://github.com/bitwarden/server.git
synced 2025-04-12 00:28:11 -05:00
"Auto-fill on page load" options (#986)
* add autofill on page load options to login models * Remove autofillOnPageLoadOptions enum
This commit is contained in:
parent
6ace7daf53
commit
982e26cbfd
@ -24,6 +24,7 @@ namespace Bit.Core.Models.Api
|
||||
Password = data.Password;
|
||||
PasswordRevisionDate = data.PasswordRevisionDate;
|
||||
Totp = data.Totp;
|
||||
AutofillOnPageLoad = data.AutofillOnPageLoad;
|
||||
}
|
||||
|
||||
[EncryptedString]
|
||||
@ -57,6 +58,7 @@ namespace Bit.Core.Models.Api
|
||||
[EncryptedString]
|
||||
[EncryptedStringLength(1000)]
|
||||
public string Totp { get; set; }
|
||||
public bool? AutofillOnPageLoad { get; set; }
|
||||
|
||||
public class CipherLoginUriModel
|
||||
{
|
||||
|
@ -20,6 +20,7 @@ namespace Bit.Core.Models.Data
|
||||
Password = cipher.Login.Password;
|
||||
PasswordRevisionDate = cipher.Login.PasswordRevisionDate;
|
||||
Totp = cipher.Login.Totp;
|
||||
AutofillOnPageLoad = cipher.Login.AutofillOnPageLoad;
|
||||
}
|
||||
|
||||
public string Uri
|
||||
@ -32,6 +33,7 @@ namespace Bit.Core.Models.Data
|
||||
public string Password { get; set; }
|
||||
public DateTime? PasswordRevisionDate { get; set; }
|
||||
public string Totp { get; set; }
|
||||
public bool? AutofillOnPageLoad { get; set; }
|
||||
|
||||
public class CipherLoginUriData
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user