standaloneusers - Allow installer to customize initial user account
authorTim Otten <totten@civicrm.org>
Sat, 24 Jun 2023 06:25:17 +0000 (23:25 -0700)
committerTim Otten <totten@civicrm.org>
Sat, 24 Jun 2023 06:44:20 +0000 (23:44 -0700)
commit206fd4156cc6042d1365764c6b542f48354d4e01
tree656928a189a97adb773570d1749108018811294d
parent72bd25ec02e3d07a1ac3485293a692a1f54661fc
standaloneusers - Allow installer to customize initial user account

Before: The initial admin account is always "admin" with a random password.

After: The initial admin account has *default* as above, but it can be customized.

* For `cv`, this looks like `cv core:install -m extras.adminUser=alice -m extras.adminPass=SECRET `
* In the future, the same pathway can be used for web-based installer.
ext/standaloneusers/CRM/Standaloneusers/Upgrader.php
setup/plugins/init/StandaloneUsers.civi-setup.php