Commit Diff


commit - 25bbf24a4442db753e05bed1d01ecded81615376
commit + 5d6d834bc1454b42ff277cfd2f39757ec4869a2b
blob - 42cd7d640f79c8fd031a24155ec772f92f356fa4
blob + 7fd55b20a6e2e9af4628c15b21417bc7bc3e1b7f
--- gotwebd/login.c
+++ gotwebd/login.c
@@ -264,7 +264,7 @@ do_login(struct request *c)
 	 */
 	r = tp_writef(c->tp, "Set-Cookie: gwdauth=%s;"
 	    " SameSite=Strict;%s Path=/; HttpOnly\r\n", token,
-	    gotwebd_env->auth_config == GOTWEBD_AUTH_SECURE ? "Secure; " : "");
+	    gotwebd_env->auth_config == GOTWEBD_AUTH_SECURE ? " Secure;" : "");
 	explicit_bzero(token, strlen(token));
 	free(token);
 	if (r == -1)