Remove outdated comment

This commit is contained in:
Daniel Krol 2022-07-11 09:51:22 -04:00
parent aa7dd09816
commit 2e0eb736f9

View file

@ -16,8 +16,6 @@ type AuthRequest struct {
Password auth.Password `json:"password"` Password auth.Password `json:"password"`
} }
// TODO - validate funcs probably should return error rather than bool for
// idiomatic golang
func (r *AuthRequest) validate() error { func (r *AuthRequest) validate() error {
if !validateEmail(r.Email) { if !validateEmail(r.Email) {
return fmt.Errorf("Invalid 'email'") return fmt.Errorf("Invalid 'email'")