From eaa2c064e804b8392c1cd0e9ec48e65973688018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?CS=C3=89CSY=20L=C3=A1szl=C3=B3?= <boobaa@users.noreply.github.com> Date: Wed, 18 Apr 2018 21:13:20 +0200 Subject: [PATCH] Add Mac support to salt generation command --- config-templates/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-templates/config.php b/config-templates/config.php index 1b81d05e3..a147f2e5f 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -103,7 +103,7 @@ $config = array( * 'secretsalt' can be any valid string of any length. * * A possible way to generate a random salt is by running the following command from a unix shell: - * tr -c -d '0123456789abcdefghijklmnopqrstuvwxyz' </dev/urandom | dd bs=32 count=1 2>/dev/null;echo + * LC_CTYPE=C tr -c -d '0123456789abcdefghijklmnopqrstuvwxyz' </dev/urandom | dd bs=32 count=1 2>/dev/null;echo */ 'secretsalt' => 'defaultsecretsalt', -- GitLab