Skip to content

Commit 31f5f12

Browse files
committed
Clarify cookie generation, closes #13694
1 parent f0fcd64 commit 31f5f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/lib/mix/tasks/release.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ defmodule Mix.Tasks.Release do
402402
403403
If you are setting this option manually, we recommend the cookie option
404404
to be a long and randomly generated string, such as:
405-
`Base.url_encode64(:crypto.strong_rand_bytes(40))`. We also recommend to restrict
406-
the characters in the cookie to the subset returned by `Base.url_encode64/1`.
405+
`Base.encode32(:crypto.strong_rand_bytes(40))`. We also recommend restricting
406+
the characters in the cookie to only alphanumeric characters and underscore.
407407
408408
* `:validate_compile_env` - by default a release will match all runtime
409409
configuration against any configuration that was marked at compile time

0 commit comments

Comments
 (0)