fix: doppelte sess-Deklaration in handleServiceAction
This commit is contained in:
@@ -1139,7 +1139,6 @@ func (s *Server) handleServiceAction(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
sess := sessionFromCtx(r.Context())
|
|
||||||
s.audlog.Log(audit.Entry{
|
s.audlog.Log(audit.Entry{
|
||||||
EventType: "service." + body.Action,
|
EventType: "service." + body.Action,
|
||||||
Username: sess.Username,
|
Username: sess.Username,
|
||||||
|
|||||||
Reference in New Issue
Block a user