Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Neil Dorin 2026-05-11 09:48:12 -06:00 committed by GitHub
parent 6fbdaa9ca0
commit 1a5840c29a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,14 +93,15 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
context.Response.ContentType = "application/json";
context.Response.ContentEncoding = System.Text.Encoding.UTF8;
context.Response.Write(JsonConvert.SerializeObject(
new LoginResponse
{ UserName = token.UserName,
Password = token.Password,
new
{
UserName = token.UserName,
Access = token.Access,
State = token.State,
Groups = token.Groups,
ADConnect = token.ADConnect,
Valid = token.Valid }, Formatting.Indented), false);
Valid = token.Valid
}, Formatting.Indented), false);
context.Response.End();
}
catch (System.Exception ex)