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()
|
||||
}
|
||||
|
||||
// Send session cookie
|
||||
response.SendSessionCookie(c, sid)
|
||||
// Send login cookies
|
||||
SendLoginCookies(c, loginResponse, sid)
|
||||
|
||||
// Handle different login statuses (in case MFA is enabled or team selection needed)
|
||||
switch loginResponse.Status {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue