aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjloup <jeanloup.jamet@gmail.com>2018-05-09 19:44:35 +0200
committerjloup <jeanloup.jamet@gmail.com>2018-05-09 19:44:35 +0200
commit8d238416001f2352dcbb76ca2c2af5be5992e987 (patch)
tree26dfa08943476c44851924f2038edb5030417396
parent24e4797900b3d2edf642fdb547bc22357a5b39ad (diff)
downloadFront-8d238416001f2352dcbb76ca2c2af5be5992e987.tar.gz
Front-8d238416001f2352dcbb76ca2c2af5be5992e987.tar.zst
Front-8d238416001f2352dcbb76ca2c2af5be5992e987.zip
Clean password reset response message.
-rw-r--r--api/password_reset.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/password_reset.go b/api/password_reset.go
index 82aaaef..4b002cd 100644
--- a/api/password_reset.go
+++ b/api/password_reset.go
@@ -42,7 +42,7 @@ func (q PasswordResetQuery) Run() (interface{}, *Error) {
42 } 42 }
43 } 43 }
44 44
45 return "OK", nil 45 return nil, nil
46} 46}
47 47
48type ChangePasswordQuery struct { 48type ChangePasswordQuery struct {
@@ -99,5 +99,5 @@ func (q ChangePasswordQuery) Run() (interface{}, *Error) {
99 return nil, NewInternalError(err) 99 return nil, NewInternalError(err)
100 } 100 }
101 101
102 return "OK", nil 102 return nil, nil
103} 103}