mirror of
https://github.com/writeas/writefreely
synced 2025-01-24 03:11:44 +01:00
Fix admin nav rendering on user viewing
This commit is contained in:
parent
9fe528bf47
commit
f903388a28
1
admin.go
1
admin.go
@ -245,6 +245,7 @@ func handleViewAdminUser(app *App, u *User, w http.ResponseWriter, r *http.Reque
|
|||||||
TotalPosts int64
|
TotalPosts int64
|
||||||
ClearEmail string
|
ClearEmail string
|
||||||
}{
|
}{
|
||||||
|
AdminPage: NewAdminPage(app),
|
||||||
Config: app.cfg.App,
|
Config: app.cfg.App,
|
||||||
Message: r.FormValue("m"),
|
Message: r.FormValue("m"),
|
||||||
Colls: []inspectedCollection{},
|
Colls: []inspectedCollection{},
|
||||||
|
Loading…
Reference in New Issue
Block a user