~netlandish/gobwebs

ec158ad604aebffcb6e3197adc7733d66a7e39c4 — Peter Sanchez 2 years ago 857e7b7
Fixing typo in validation
1 files changed, 1 insertions(+), 1 deletions(-)

M accounts/input.go
M accounts/input.go => accounts/input.go +1 -1
@@ 100,7 100,7 @@ func (l *LoginEmailForm) Validate(c echo.Context) error {
// ChangePasswordForm ...
type ChangePasswordForm struct {
	CPassword  string `form:"current_password" validate:"required,max=100"`
	NPassword  string `form:"new_password" validate:"required.max=100"`
	NPassword  string `form:"new_password" validate:"required,max=100"`
	NPassword2 string `form:"new_password2" validate:"required,max=100"`
}