diff options
-rw-r--r-- | api/password_reset.go | 2 | ||||
-rw-r--r-- | api/user.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/password_reset.go b/api/password_reset.go index 0c55c02..0e411f9 100644 --- a/api/password_reset.go +++ b/api/password_reset.go | |||
@@ -38,7 +38,7 @@ func (q PasswordResetQuery) Run() (interface{}, *Error) { | |||
38 | if CONFIG.FreeSMSUser != "" { | 38 | if CONFIG.FreeSMSUser != "" { |
39 | err := SendSMS(CONFIG.FreeSMSUser, CONFIG.FreeSMSPass, fmt.Sprintf("'%v' request a password reset. Token '/change-password?token=%v'", q.In.Email, token)) | 39 | err := SendSMS(CONFIG.FreeSMSUser, CONFIG.FreeSMSPass, fmt.Sprintf("'%v' request a password reset. Token '/change-password?token=%v'", q.In.Email, token)) |
40 | if err != nil { | 40 | if err != nil { |
41 | return nil, NewInternalError(err) | 41 | log.Error(err) |
42 | } | 42 | } |
43 | } | 43 | } |
44 | 44 | ||
diff --git a/api/user.go b/api/user.go index b285a20..9fca34c 100644 --- a/api/user.go +++ b/api/user.go | |||
@@ -115,7 +115,7 @@ func (q SignupQuery) Run() (interface{}, *Error) { | |||
115 | if CONFIG.FreeSMSUser != "" { | 115 | if CONFIG.FreeSMSUser != "" { |
116 | err := SendSMS(CONFIG.FreeSMSUser, CONFIG.FreeSMSPass, fmt.Sprintf("New user signup '%v'", q.In.Email)) | 116 | err := SendSMS(CONFIG.FreeSMSUser, CONFIG.FreeSMSPass, fmt.Sprintf("New user signup '%v'", q.In.Email)) |
117 | if err != nil { | 117 | if err != nil { |
118 | return nil, NewInternalError(err) | 118 | log.Error(err) |
119 | } | 119 | } |
120 | } | 120 | } |
121 | 121 | ||