summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index af7197d2ae..9caf81e07f 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -51,7 +51,8 @@ func (f *AdminEditUserForm) Validate(ctx *macaron.Context, errs binding.Errors)
// AdminDashboardForm form for admin dashboard operations
type AdminDashboardForm struct {
- Op string `binding:"required"`
+ Op string `binding:"required"`
+ From string
}
// Validate validates form fields