mirror of
https://github.com/bitwarden/server.git
synced 2025-05-23 04:21:05 -05:00
Remove userId from auth success
we don't want to expand this response model
This commit is contained in:
parent
7100b2bfad
commit
b4b9d453c7
@ -230,7 +230,6 @@ public abstract class BaseRequestValidator<T> where T : class
|
|||||||
customResponse.Add("KdfMemory", user.KdfMemory);
|
customResponse.Add("KdfMemory", user.KdfMemory);
|
||||||
customResponse.Add("KdfParallelism", user.KdfParallelism);
|
customResponse.Add("KdfParallelism", user.KdfParallelism);
|
||||||
customResponse.Add("UserDecryptionOptions", await CreateUserDecryptionOptionsAsync(user, device, GetSubject(context)));
|
customResponse.Add("UserDecryptionOptions", await CreateUserDecryptionOptionsAsync(user, device, GetSubject(context)));
|
||||||
customResponse.Add("UserId", user.Id.ToString());
|
|
||||||
|
|
||||||
if (sendRememberToken)
|
if (sendRememberToken)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user