diff --git a/src/wp-utils/wp-generate-salt b/src/wp-utils/wp-generate-salt new file mode 100755 index 0000000..41543e9 --- /dev/null +++ b/src/wp-utils/wp-generate-salt @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +main() { + src/utils/random-string "${@}" +} +main "${@}" diff --git a/src/wp-utils/wp-generate-salts b/src/wp-utils/wp-generate-salts index 0ff88d5..5ea7d59 100755 --- a/src/wp-utils/wp-generate-salts +++ b/src/wp-utils/wp-generate-salts @@ -7,7 +7,7 @@ main() { mkdir -p "${secretsDir}" for key in "${keys[@]}"; do - value="$(src/utils/random-string 64)" + value="$(src/wp-utils/wp-generate-salt 64)" secretName="wordpress_${key,,}" secretFile="${secretsDir}/${secretName}"