Show 2FA info on Admin Pannel: Users List (#12515)
This commit is contained in:
parent
a5440fcb1e
commit
dcb543ac2a
4 changed files with 5 additions and 1 deletions
|
@ -233,6 +233,7 @@ func RenderUserSearch(ctx *context.Context, opts *models.SearchUserOptions, tplN
|
|||
ctx.Data["Keyword"] = opts.Keyword
|
||||
ctx.Data["Total"] = count
|
||||
ctx.Data["Users"] = users
|
||||
ctx.Data["UsersTwoFaStatus"] = models.UserList(users).GetTwoFaStatus()
|
||||
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail
|
||||
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue