From 1bba6fe4d92efb66b019b4547ec31ad40dc97f13 Mon Sep 17 00:00:00 2001 From: nimesulide Date: Thu, 13 Nov 2025 12:32:04 +0800 Subject: [PATCH] fixbug --- routers/web/admin/users.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/routers/web/admin/users.go b/routers/web/admin/users.go index 3ec6037b68..11598411d4 100644 --- a/routers/web/admin/users.go +++ b/routers/web/admin/users.go @@ -338,8 +338,6 @@ func EditUserPost(ctx *context.Context) { } form := web.GetForm(ctx).(*forms.AdminEditUserForm) - // TEMP LOG: dump received form values to help debug allow_create_actrunner binding - log.Error("DEBUG EditUserPost START: received form values: AllowCreateActRunner=%v, AllowCreateDevcontainer=%v, AllowCreateOrganization=%v, Admin=%v, Active=%v, ProhibitLogin=%v", form.AllowCreateActRunner, form.AllowCreateDevcontainer, form.AllowCreateOrganization, form.Admin, form.Active, form.ProhibitLogin) if ctx.HasError() { ctx.HTML(http.StatusOK, tplUserEdit) return @@ -453,8 +451,6 @@ func EditUserPost(ctx *context.Context) { } return } - log.Error("DEBUG EditUserPost AFTER UpdateUser: AllowCreateActRunner now=%v", u.AllowCreateActRunner) - log.Trace("Account profile updated by admin (%s): %s", ctx.Doer.Name, u.Name) if form.Reset2FA { tf, err := auth.GetTwoFactorByUID(ctx, u.ID)