used *clog-auth-key* for consistency in clog-auth.lisp

This commit is contained in:
Shaka Chen 2022-07-27 09:51:08 +08:00
parent 130192ad5c
commit c0e70f0fae

View file

@ -75,10 +75,10 @@ for CLOG")
(check-type body clog-body)
(set-on-storage (window body) (lambda (obj data)
(declare (ignore obj))
(set-on-storage (window body) nil)
(when (equalp (getf data :key)
"clog-auth-token")
(funcall handler body)))))
(set-on-storage (window body) nil)
(when (equalp (getf data :key)
*clog-auth-key*)
(funcall handler body)))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Implementation - clog-auth - Authorization