"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
"Omar Polo" <op@omarpolo.com>
Subject:
Re: cosmetic gotwebd fix for logged-in user name
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 16 Apr 2026 19:57:07 +0200

Download raw body.

Thread
Stefan Sperling <stsp@stsp.name> wrote:
> When users authenticate via group membership, gotwebd displayed a banner
> saying "Logged in as :groupname" rather than "Logged in as username".
> 
> This patch makes gotwebd always display the logged-in username and
> adds test coverage for authentication via groups.
> 
> ok?

makes sense; okay op

> M  gotwebd/auth.c                   |   10+  0-
> M  gotwebd/gotwebd.h                |    1+  0-
> M  gotwebd/pages.tmpl               |    3+  2-
> M  regress/gotsysd/test_gotwebd.sh  |  144+  0-
> 
> 4 files changed, 158 insertions(+), 2 deletions(-)
> 
> commit - 1008b9596f1b9e09fed8e4c87d0bfaf879d3c1bd
> commit + b378afbafa418e2fb964b5e8b0e46f0efad22025