1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-25 04:29:40 +02:00

#2937 able to prohibit user login

This commit is contained in:
Unknwon 2016-07-16 10:22:16 +08:00
parent 52322ef624
commit c083d76567
11 changed files with 41 additions and 6 deletions

View file

@ -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 {