idk its late
alex wennerberg alex@alexwennerberg.com
Sun, 06 Dec 2020 01:57:52 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
http.go
→
http.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 }