Make lint happy
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
608793314f
commit
0a0fc47655
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user