- if CONFIG.FreeSMSUser != "" {
- err := SendSMS(CONFIG.FreeSMSUser, CONFIG.FreeSMSPass, fmt.Sprintf("'%v' request a password reset. Token '/change-password?token=%v'", q.In.Email, token))
- if err != nil {
- return nil, NewInternalError(err)
- }
- }
-
- return SignResult{token}, nil