mirror of
https://github.com/bitwarden/server.git
synced 2025-04-22 05:25:10 -05:00
added security stamp to profile
This commit is contained in:
parent
ef3d5ee10c
commit
8e9aae10ef
@ -25,6 +25,7 @@ namespace Bit.Core.Models.Api
|
|||||||
TwoFactorEnabled = user.TwoFactorEnabled;
|
TwoFactorEnabled = user.TwoFactorEnabled;
|
||||||
Key = user.Key;
|
Key = user.Key;
|
||||||
PrivateKey = user.PrivateKey;
|
PrivateKey = user.PrivateKey;
|
||||||
|
SecurityStamp = user.SecurityStamp;
|
||||||
Organizations = organizationsUserDetails?.Select(o => new ProfileOrganizationResponseModel(o));
|
Organizations = organizationsUserDetails?.Select(o => new ProfileOrganizationResponseModel(o));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,6 +37,7 @@ namespace Bit.Core.Models.Api
|
|||||||
public bool TwoFactorEnabled { get; set; }
|
public bool TwoFactorEnabled { get; set; }
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
public string PrivateKey { get; set; }
|
public string PrivateKey { get; set; }
|
||||||
|
public string SecurityStamp { get; set; }
|
||||||
public IEnumerable<ProfileOrganizationResponseModel> Organizations { get; set; }
|
public IEnumerable<ProfileOrganizationResponseModel> Organizations { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user