mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
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:
parent
6fbdaa9ca0
commit
1a5840c29a
1 changed files with 9 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue