This commit is contained in:
Bolke de Bruin 2020-08-07 08:54:29 +02:00
parent fdffd962f0
commit a01ee3444e
4 changed files with 7 additions and 3 deletions

View file

@ -55,11 +55,11 @@ func VerifyServerFunc(ctx context.Context, host string) (bool, error) {
return false, nil
}
if s.ClientIp != common.GetClientIp(ctx) {
/*if s.ClientIp != common.GetClientIp(ctx) {
log.Printf("Current client ip address %s does not match token client ip %s",
common.GetClientIp(ctx), s.ClientIp)
return false, nil
}
}*/
return true, nil
}