|
@@ -46,10 +46,11 @@ EOF
|
|
$WP plugin install --activate --force /app/code/disable-wordpress-updates.zip
|
|
$WP plugin install --activate --force /app/code/disable-wordpress-updates.zip
|
|
$WP plugin install --activate --force /app/code/wp-mail-smtp.zip
|
|
$WP plugin install --activate --force /app/code/wp-mail-smtp.zip
|
|
|
|
|
|
- $WP option update users_can_register 1
|
|
|
|
|
|
+ $WP option update users_can_register 1 # without this, nothing works
|
|
$WP option update wpoa_cloudron_api_enabled 1
|
|
$WP option update wpoa_cloudron_api_enabled 1
|
|
$WP option update wpoa_new_user_role administrator # TODO: let the plugin determine this from the oauth profile
|
|
$WP option update wpoa_new_user_role administrator # TODO: let the plugin determine this from the oauth profile
|
|
- $WP option update wpoa_hide_wordpress_login_form 1
|
|
|
|
|
|
+ # $WP option update wpoa_hide_wordpress_login_form 1 # disabling this will make it impossible for users (commenters) to login
|
|
|
|
+ $WP option update wpoa_suppress_welcome_email 1
|
|
else
|
|
else
|
|
rm -rf /app/code/wp-content # upgrades & updates - starting out with existing data
|
|
rm -rf /app/code/wp-content # upgrades & updates - starting out with existing data
|
|
ln -sf /app/data/wp-content /app/code/wp-content
|
|
ln -sf /app/data/wp-content /app/code/wp-content
|