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