mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 08:31:10 +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}"
|
||||
|
||||
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}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user