mirror of
https://github.com/writeas/writefreely
synced 2025-01-07 13:31:43 +01:00
Fix admin nav rendering on user viewing
This commit is contained in:
parent
9fe528bf47
commit
f903388a28
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…
Reference in New Issue
Block a user