all repos — flounder @ 7fb04c7da9d9f530d0f0bf2b51c39c0f03a070e8

A small site builder for the Gemini protocol

idk its late
alex wennerberg alex@alexwennerberg.com
Sun, 06 Dec 2020 01:57:52 -0800
commit

7fb04c7da9d9f530d0f0bf2b51c39c0f03a070e8

parent

f516ef62ea08f7a54e40aabba9931f65d87dde05

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M http.gohttp.go

@@ -583,6 +583,7 @@ session, _ := SessionStore.Get(r, "cookie-session")

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 }