We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49073c4 commit 3a7f468Copy full SHA for 3a7f468
routers/web/admin/users.go
@@ -274,6 +274,7 @@ func EditUserPost(ctx *context.Context) {
274
ctx.Data["PageIsAdmin"] = true
275
ctx.Data["PageIsAdminUsers"] = true
276
ctx.Data["DisableMigrations"] = setting.Repository.DisableMigrations
277
+ ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()
278
279
u := prepareUserInfo(ctx)
280
if ctx.Written() {
0 commit comments