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/jwtauth"
|
||||||
"github.com/go-chi/render"
|
"github.com/go-chi/render"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
"io/ioutil"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -260,7 +259,6 @@ func sendEmailToken(w http.ResponseWriter, token string, name string, email stri
|
||||||
return returnMessage, ok
|
return returnMessage, ok
|
||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
respbody, _ := ioutil.ReadAll(resp.Body)
|
|
||||||
returnMessage.Message = "verification email sent"
|
returnMessage.Message = "verification email sent"
|
||||||
ok = true
|
ok = true
|
||||||
return returnMessage, ok
|
return returnMessage, ok
|
||||||
|
|
Reference in a new issue