Skip to content

Commit

Permalink
Default admin login is the Stackato user.
Browse files Browse the repository at this point in the history
  • Loading branch information
Troy Topnik committed Apr 27, 2012
1 parent dfc07f2 commit e43ff80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
4 changes: 3 additions & 1 deletion config/autoconfig.php
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit e43ff80

Please sign in to comment.