Skip to content

Commit

Permalink
Removing add altinnParty cookie in authenticationController (#2303)
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad authored and dskogan committed Aug 9, 2019
1 parent c4c4a6e commit 8d00575
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,7 @@ await HttpContext.SignInAsync(
{
Response.Cookies.Append(_generalSettings.GetSBLCookieName, userAuthentication.EncryptedTicket);
}

Response.Cookies.Append(
_generalSettings.GetAltinnPartyCookieName,
userAuthentication.PartyID.ToString(),
new CookieOptions
{
Domain = _generalSettings.HostName
});

return Redirect(goTo);
}
else
Expand Down

0 comments on commit 8d00575

Please sign in to comment.