Browse Source

Fix admin nav rendering on user viewing

oauth-gitea
Matt Baer 2 years ago
parent
commit
f903388a28
  1. 7
      admin.go

7
admin.go

@ -245,9 +245,10 @@ func handleViewAdminUser(app *App, u *User, w http.ResponseWriter, r *http.Reque
TotalPosts int64
ClearEmail string
}{
Config: app.cfg.App,
Message: r.FormValue("m"),
Colls: []inspectedCollection{},
AdminPage: NewAdminPage(app),
Config: app.cfg.App,
Message: r.FormValue("m"),
Colls: []inspectedCollection{},
}
var err error

Loading…
Cancel
Save