Fix up uneeded return
This commit is contained in:
parent
cba9967af0
commit
172dc2dc34
1 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ import (
|
|||
"github.com/go-chi/jwtauth"
|
||||
"github.com/go-chi/render"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
|
@ -260,7 +259,6 @@ func sendEmailToken(w http.ResponseWriter, token string, name string, email stri
|
|||
return returnMessage, ok
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
respbody, _ := ioutil.ReadAll(resp.Body)
|
||||
returnMessage.Message = "verification email sent"
|
||||
ok = true
|
||||
return returnMessage, ok
|
||||
|
|
Reference in a new issue