mirror of
https://github.com/mjl-/mox.git
synced 2025-01-27 06:55:54 +03:00
fix previous commit, go fmt
This commit is contained in:
parent
666f84edea
commit
00c8dacc56
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ func Login(ctx context.Context, log mlog.Log, sessionAuth SessionAuth, kind, coo
|
|||
|
||||
// Add session cookie.
|
||||
http.SetCookie(w, &http.Cookie{
|
||||
Name: kind + "session",
|
||||
Name: kind + "session",
|
||||
// Cookies values are ascii only, so we keep the account name query escaped.
|
||||
Value: string(sessionToken) + " " + url.QueryEscape(accountName),
|
||||
Path: cookiePath,
|
||||
|
|
Loading…
Reference in a new issue