]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/commitdiff
Clean password reset response message.
authorjloup <jeanloup.jamet@gmail.com>
Wed, 9 May 2018 17:44:35 +0000 (19:44 +0200)
committerjloup <jeanloup.jamet@gmail.com>
Wed, 9 May 2018 17:44:35 +0000 (19:44 +0200)
api/password_reset.go

index 82aaaef086d69e66bba3f1241c3d8f997fad8469..4b002cdf2f525fe5c4606c094ecaf3a446054b06 100644 (file)
@@ -42,7 +42,7 @@ func (q PasswordResetQuery) Run() (interface{}, *Error) {
                }
        }
 
-       return "OK", nil
+       return nil, nil
 }
 
 type ChangePasswordQuery struct {
@@ -99,5 +99,5 @@ func (q ChangePasswordQuery) Run() (interface{}, *Error) {
                return nil, NewInternalError(err)
        }
 
-       return "OK", nil
+       return nil, nil
 }