mirror of
https://github.com/bitwarden/server.git
synced 2025-04-21 04:55:08 -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;
|
Password = data.Password;
|
||||||
PasswordRevisionDate = data.PasswordRevisionDate;
|
PasswordRevisionDate = data.PasswordRevisionDate;
|
||||||
Totp = data.Totp;
|
Totp = data.Totp;
|
||||||
|
AutofillOnPageLoad = data.AutofillOnPageLoad;
|
||||||
}
|
}
|
||||||
|
|
||||||
[EncryptedString]
|
[EncryptedString]
|
||||||
@ -57,6 +58,7 @@ namespace Bit.Core.Models.Api
|
|||||||
[EncryptedString]
|
[EncryptedString]
|
||||||
[EncryptedStringLength(1000)]
|
[EncryptedStringLength(1000)]
|
||||||
public string Totp { get; set; }
|
public string Totp { get; set; }
|
||||||
|
public bool? AutofillOnPageLoad { get; set; }
|
||||||
|
|
||||||
public class CipherLoginUriModel
|
public class CipherLoginUriModel
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,7 @@ namespace Bit.Core.Models.Data
|
|||||||
Password = cipher.Login.Password;
|
Password = cipher.Login.Password;
|
||||||
PasswordRevisionDate = cipher.Login.PasswordRevisionDate;
|
PasswordRevisionDate = cipher.Login.PasswordRevisionDate;
|
||||||
Totp = cipher.Login.Totp;
|
Totp = cipher.Login.Totp;
|
||||||
|
AutofillOnPageLoad = cipher.Login.AutofillOnPageLoad;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Uri
|
public string Uri
|
||||||
@ -32,6 +33,7 @@ namespace Bit.Core.Models.Data
|
|||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
public DateTime? PasswordRevisionDate { get; set; }
|
public DateTime? PasswordRevisionDate { get; set; }
|
||||||
public string Totp { get; set; }
|
public string Totp { get; set; }
|
||||||
|
public bool? AutofillOnPageLoad { get; set; }
|
||||||
|
|
||||||
public class CipherLoginUriData
|
public class CipherLoginUriData
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user