mirror of
https://github.com/bitwarden/server.git
synced 2025-04-09 15:18:13 -05:00
new properties to profile
This commit is contained in:
parent
db5544f387
commit
c8528384f8
@ -19,6 +19,8 @@ namespace Bit.Core.Models.Api
|
|||||||
Id = user.Id.ToString();
|
Id = user.Id.ToString();
|
||||||
Name = user.Name;
|
Name = user.Name;
|
||||||
Email = user.Email;
|
Email = user.Email;
|
||||||
|
EmailVerified = user.EmailVerified;
|
||||||
|
Premium = user.Premium;
|
||||||
MasterPasswordHint = string.IsNullOrWhiteSpace(user.MasterPasswordHint) ? null : user.MasterPasswordHint;
|
MasterPasswordHint = string.IsNullOrWhiteSpace(user.MasterPasswordHint) ? null : user.MasterPasswordHint;
|
||||||
Culture = user.Culture;
|
Culture = user.Culture;
|
||||||
TwoFactorEnabled = user.TwoFactorIsEnabled();
|
TwoFactorEnabled = user.TwoFactorIsEnabled();
|
||||||
@ -31,6 +33,8 @@ namespace Bit.Core.Models.Api
|
|||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Email { get; set; }
|
public string Email { get; set; }
|
||||||
|
public bool EmailVerified { get; set; }
|
||||||
|
public bool Premium { get; set; }
|
||||||
public string MasterPasswordHint { get; set; }
|
public string MasterPasswordHint { get; set; }
|
||||||
public string Culture { get; set; }
|
public string Culture { get; set; }
|
||||||
public bool TwoFactorEnabled { get; set; }
|
public bool TwoFactorEnabled { get; set; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user