Skip to content

Commit

Permalink
Restore wp-generate-salt alias
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Nov 1, 2024
1 parent c692812 commit 0cb7952
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/wp-utils/wp-generate-salt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

main() {
src/utils/random-string "${@}"
}
main "${@}"
2 changes: 1 addition & 1 deletion src/wp-utils/wp-generate-salts
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 0cb7952

Please sign in to comment.