We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a51715 commit f2121e2Copy full SHA for f2121e2
src/taoensso/sente.cljc
@@ -1453,7 +1453,7 @@
1453
(when (not (nil? _deprecated-more-opts)) (warnf "`make-channel-socket-client!` fn signature CHANGED with Sente v0.10.0."))
1454
(when (contains? opts :lp-timeout) (warnf ":lp-timeout opt has CHANGED; please use :lp-timout-ms."))
1455
1456
- (when (str/blank? ?csrf-token)
+ (when (or (not (string? ?csrf-token)) (str/blank? ?csrf-token))
1457
(warnf "WARNING: no CSRF token provided. Connections will FAIL if server-side CSRF check is enabled (as it is by default)."))
1458
1459
(let [packer (coerce-packer packer)
0 commit comments