Explorar el Código

we don't accept empty token.

master
Patrick Peng Sun hace 8 años
padre
commit
97efca171e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      server.go

+ 1
- 1
server.go Ver fichero

timestamp = c.Value timestamp = c.Value
} }
} }
if signature != "" && nonce != "" && timestamp != "" {
if signature != "" && nonce != "" && timestamp != "" && token != "" {
return verifySignature(signature, timestamp, nonce, IntraAPIConfig.CRMSecrete) return verifySignature(signature, timestamp, nonce, IntraAPIConfig.CRMSecrete)
} }
return false return false

Cargando…
Cancelar
Guardar