mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 19:39:49 +02:00
#2937 able to prohibit user login
This commit is contained in:
1 parent
52322ef624
commit
c083d76567
11 files changed
+41
-6
No files matched your search
@@ -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