From ec158ad604aebffcb6e3197adc7733d66a7e39c4 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Mon, 29 Aug 2022 22:33:34 -0600 Subject: [PATCH] Fixing typo in validation --- accounts/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/input.go b/accounts/input.go index c39ce52..c920c97 100644 --- a/accounts/input.go +++ b/accounts/input.go @@ -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"` } -- 2.45.2