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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index a772680680..af7197d2ae 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -51,7 +51,7 @@ func (f *AdminEditUserForm) Validate(ctx *macaron.Context, errs binding.Errors)
// AdminDashboardForm form for admin dashboard operations
type AdminDashboardForm struct {
- Op int `binding:"required"`
+ Op string `binding:"required"`
}
// Validate validates form fields