feat: update LoginResponse structure to include Password in the token response

This commit is contained in:
Neil Dorin 2026-05-11 09:50:39 -06:00
parent 1a5840c29a
commit d879430616

View file

@ -94,13 +94,17 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
context.Response.ContentEncoding = System.Text.Encoding.UTF8;
context.Response.Write(JsonConvert.SerializeObject(
new
{
Token = new LoginResponse
{
UserName = token.UserName,
Password = token.Password,
Access = token.Access,
State = token.State,
Groups = token.Groups,
ADConnect = token.ADConnect,
Valid = token.Valid
}
}, Formatting.Indented), false);
context.Response.End();
}