Make lint happy

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2021-01-28 19:58:28 +01:00
parent 608793314f
commit 0a0fc47655
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -52,7 +52,11 @@ func VerifyToken(token, remoteIP string) (Response, error) {
q.Add("response", token)
q.Add("remoteip", remoteIP)
u := &(*VerifyURL)
var u *url.URL
{
verifyCopy := *VerifyURL
u = &verifyCopy
}
u.RawQuery = q.Encode()
r, err := http.Post(u.String(), contentType, nil)
if err != nil {