Remove outdated comment
This commit is contained in:
parent
aa7dd09816
commit
2e0eb736f9
1 changed files with 0 additions and 2 deletions
|
@ -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'")
|
||||||
|
|
Loading…
Reference in a new issue