ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.75k stars 519 forks source link

enhancement for `print-string-secret-key-deprecation` #413

Open trevor opened 4 years ago

trevor commented 4 years ago

print-string-secret-key-deprecation now prints:

"WARNING: The secret key for the session cookie store should be a"
"byte array.\nString secret keys have been deprecated."

It took some time to track down where this warning was coming from. A helpful modification may be something along the lines:

"WARNING (library 'ring' <version>): The secret key for the session cookie store should be a"
"byte array.\nString secret keys have been deprecated."
weavejester commented 4 years ago

That's a good idea.