Explorar o código

Do not show login screen

Girish Ramakrishnan %!s(int64=10) %!d(string=hai) anos
pai
achega
7608195130
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      start.sh

+ 2 - 1
start.sh

@@ -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