mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 02:28:15 +03:00
fix previous commit, go fmt
This commit is contained in:
parent
666f84edea
commit
00c8dacc56
@ -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…
x
Reference in New Issue
Block a user