diff options
Diffstat (limited to 'services/forms/user_form.go')
-rw-r--r-- | services/forms/user_form.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/forms/user_form.go b/services/forms/user_form.go index 9f86bf6166..f114682b9f 100644 --- a/services/forms/user_form.go +++ b/services/forms/user_form.go @@ -67,6 +67,11 @@ type InstallForm struct { AdminPasswd string `binding:"OmitEmpty;MaxSize(255)" locale:"install.admin_password"` AdminConfirmPasswd string AdminEmail string `binding:"OmitEmpty;MinSize(3);MaxSize(254);Include(@)" locale:"install.admin_email"` + + // ReinstallConfirmFirst we can not use 1/2/3 or A/B/C here, there is a framework bug, can not parse "reinstall_confirm_1" or "reinstall_confirm_a" + ReinstallConfirmFirst bool + ReinstallConfirmSecond bool + ReinstallConfirmThird bool } // Validate validates the fields |