|
@@ -48,11 +48,12 @@ EOF
|
|
|
$WP option update users_can_register 1
|
|
|
$WP option update wpoa_cloudron_api_enabled 1
|
|
|
$WP option update wpoa_new_user_role administrator
|
|
|
+ $WP option update wpoa_hide_wordpress_login_form 1
|
|
|
else
|
|
|
rm -rf /app/code/wp-content # upgrades & updates - starting out with existing data
|
|
|
ln -sf /app/data/wp-content /app/code/wp-content
|
|
|
|
|
|
- $WP user update "$($WP user get admin --field=ID)" --user_pass="${admin_password}"
|
|
|
+ $WP user update $($WP user get admin --field=ID) --user_pass="${admin_password}"
|
|
|
fi
|
|
|
|
|
|
# Settings to be updated on every run
|