ソースを参照

we don't accept empty token.

master
Patrick Peng Sun 8年前
コミット
97efca171e
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      server.go

+ 1
- 1
server.go ファイルの表示

@@ -167,7 +167,7 @@ func checkCookieSignatureBytoken(r *http.Request, token string) bool {
timestamp = c.Value
}
}
if signature != "" && nonce != "" && timestamp != "" {
if signature != "" && nonce != "" && timestamp != "" && token != "" {
return verifySignature(signature, timestamp, nonce, IntraAPIConfig.CRMSecrete)
}
return false

読み込み中…
キャンセル
保存