Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Default admin login is the Stackato user.

  • Loading branch information...
commit e43ff80246acd98465803c8bdb0dcaad700065cb 1 parent dfc07f2
@troytop troytop authored
Showing with 5 additions and 2 deletions.
  1. +2 −1  README.md
  2. +3 −1 config/autoconfig.php
View
3  README.md
@@ -22,4 +22,5 @@ filesystem service - see 'stackato.yml').
stackato push -n
-
+**Note**: The initial admin login is the same as your Stackato user
+(email address). The default password is 'changeme'.
View
4 config/autoconfig.php
@@ -1,11 +1,13 @@
<?php
$services = getenv("VCAP_SERVICES");
+$appinfo = getenv("VCAP_APPLICATION");
$services_json = json_decode($services,true);
+$appinfo_json = json_decode($appinfo,true);
$mysql_config = $services_json["mysql-5.1"][0]["credentials"];
$AUTOCONFIG = array(
"installed" => false,
-"adminlogin" => "admin@stackato.local",
+"adminlogin" => $appinfo_json["users"][0],
"adminpass" => "changeme",
"directory" => "/app/app/data",
"dbtype" => "mysql",
Please sign in to comment.
Something went wrong with that request. Please try again.