File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/ring/middleware/session
test/ring/middleware/session/test Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 56
56
57
57
(defn- print-string-secret-key-deprecation []
58
58
(binding [*out* *err*]
59
- (println " WARNING: The secret key for the session cookie store should be a"
60
- " byte array.\n String secret keys have been deprecated." )))
59
+ (println " [ring.middleware.session.cookie] WARNING: The secret key for the"
60
+ " session cookie\n store should be a byte array. Secret keys as"
61
+ " Strings have been deprecated." )))
61
62
62
63
(defn- get-secret-key
63
64
" Get a valid secret key from a map of options, or create a random one from
Original file line number Diff line number Diff line change 75
75
(is (= (with-out-str
76
76
(binding [*err* *out*]
77
77
(cookie-store {:key " 0123456789abcdef" })))
78
- (str " WARNING: The secret key for the session cookie store should be a"
79
- " byte array.\n String secret keys have been deprecated.\n " ))))
78
+ (str " [ring.middleware.session.cookie] WARNING: The secret key for the "
79
+ " session cookie\n store should be a byte array. Secret keys as "
80
+ " Strings have been deprecated.\n " ))))
You can’t perform that action at this time.
0 commit comments