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 f453879 commit 49073c4Copy full SHA for 49073c4
routers/web/admin/users.go
@@ -105,6 +105,7 @@ func NewUserPost(ctx *context.Context) {
105
ctx.Data["PageIsAdmin"] = true
106
ctx.Data["PageIsAdminUsers"] = true
107
ctx.Data["DefaultUserVisibilityMode"] = setting.Service.DefaultUserVisibilityMode
108
+ ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()
109
110
sources, err := auth.Sources()
111
if err != nil {
0 commit comments