From 00c8dacc5664b6a8c40b4b288a9ba079e581edcf Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Thu, 11 Apr 2024 23:22:03 +0200 Subject: [PATCH] fix previous commit, go fmt --- webauth/webauth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webauth/webauth.go b/webauth/webauth.go index 6af82ee..8f7a64a 100644 --- a/webauth/webauth.go +++ b/webauth/webauth.go @@ -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,