mirror of
https://gitee.com/gitea/gitea
synced 2025-11-10 19:40:25 +08:00
#2937 able to prohibit user login
This commit is contained in:
@@ -36,6 +36,7 @@ type AdminEditUserForm struct {
|
||||
Admin bool
|
||||
AllowGitHook bool
|
||||
AllowImportLocal bool
|
||||
ProhibitLogin bool
|
||||
}
|
||||
|
||||
func (f *AdminEditUserForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
|
||||
|
||||
Reference in New Issue
Block a user