mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 12:01:51 +01:00
Restore wp-generate-salt alias
This commit is contained in:
parent
c692812e24
commit
0cb7952020
6
src/wp-utils/wp-generate-salt
Executable file
6
src/wp-utils/wp-generate-salt
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
main() {
|
||||||
|
src/utils/random-string "${@}"
|
||||||
|
}
|
||||||
|
main "${@}"
|
|
@ -7,7 +7,7 @@ main() {
|
||||||
mkdir -p "${secretsDir}"
|
mkdir -p "${secretsDir}"
|
||||||
|
|
||||||
for key in "${keys[@]}"; do
|
for key in "${keys[@]}"; do
|
||||||
value="$(src/utils/random-string 64)"
|
value="$(src/wp-utils/wp-generate-salt 64)"
|
||||||
secretName="wordpress_${key,,}"
|
secretName="wordpress_${key,,}"
|
||||||
secretFile="${secretsDir}/${secretName}"
|
secretFile="${secretsDir}/${secretName}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user