flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 7fb04c7da9d9f530d0f0bf2b51c39c0f03a070e8
parent f516ef62ea08f7a54e40aabba9931f65d87dde05
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun,  6 Dec 2020 01:57:52 -0800

idk its late

Diffstat:
Mhttp.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/http.go b/http.go @@ -583,6 +583,7 @@ func adminUserHandler(w http.ResponseWriter, r *http.Request) { session.Values["auth_user"] = userName session.Values["impersonating_user"] = user.Username session.Save(r, w) + log.Printf("User %s impersonated %s", user.Username, userName) http.Redirect(w, r, "/", http.StatusSeeOther) return }