Skip to content

added multi user support

Choose a tag to compare

@runningman84 runningman84 released this 29 Apr 14:18
· 33 commits to master since this release

example usage:

❯ export WORDPRESS_USERNAME=admin
❯ export WORDPRESS_PASSWORD=pw
❯ export WORDPRESS_EMAIL=admin@example.com
❯ export WORDPRESS_USERNAME_2=admin2
❯ export WORDPRESS_PASSWORD_2=pw2
❯ export WORDPRESS_EMAIL_2=admin4@example.com
❯ export WORDPRESS_USERNAME_4=admin4
❯ export WORDPRESS_PASSWORD_4=pw4
❯ export WORDPRESS_EMAIL_4=admin4@example.com
❯ ./update-wp-admin-user.sh
using wordpress-username admin
using wordpress-email admin@example.com
create admin user if not exists otherwise update admin user...
using wordpress-username admin2
using wordpress-email admin2@example.com
create admin user if not exists otherwise update admin user...
using wordpress-username admin4
using wordpress-email admin4@example.com
create admin user if not exists otherwise update admin user..