Browse Source

Do not show login screen

Girish Ramakrishnan 10 years ago
parent
commit
7608195130
1 changed files with 2 additions and 1 deletions
  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