Procházet zdrojové kódy

Do not show login screen

Girish Ramakrishnan před 10 roky
rodič
revize
7608195130
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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