Merge pull request #1212 from trheyi/main
Refactor session cookie handling in user entry logic
This commit is contained in:
commit
9f4341882e
1 changed files with 2 additions and 2 deletions
|
|
@ -1166,8 +1166,8 @@ func GinVerifyInvite(c *gin.Context) {
|
||||||
sid = generateSessionID()
|
sid = generateSessionID()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send session cookie
|
// Send login cookies
|
||||||
response.SendSessionCookie(c, sid)
|
SendLoginCookies(c, loginResponse, sid)
|
||||||
|
|
||||||
// Handle different login statuses (in case MFA is enabled or team selection needed)
|
// Handle different login statuses (in case MFA is enabled or team selection needed)
|
||||||
switch loginResponse.Status {
|
switch loginResponse.Status {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue