Assorted fixes

This commit is contained in:
Dane Everitt 2017-04-14 20:10:09 -04:00
parent 7cead2635a
commit 97cc30e502
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 6 additions and 6 deletions

View file

@ -85,6 +85,12 @@ class UpdateEnvironment extends Command
$variables['SERVICE_AUTHOR'] = (string) Uuid::generate(4); $variables['SERVICE_AUTHOR'] = (string) Uuid::generate(4);
} }
if(isset($variables['APP_THEME'])) {
if ($variables['APP_THEME'] === 'default') {
$variables['APP_THEME'] = 'pterodactyl';
}
}
if (is_null($this->option('dbhost'))) { if (is_null($this->option('dbhost'))) {
$variables['DB_HOST'] = $this->anticipate('Database Host', ['localhost', '127.0.0.1', config('database.connections.mysql.host')], config('database.connections.mysql.host')); $variables['DB_HOST'] = $this->anticipate('Database Host', ['localhost', '127.0.0.1', config('database.connections.mysql.host')], config('database.connections.mysql.host'));
} else { } else {

View file

@ -107,9 +107,6 @@
<input type="password" name="password" class="form-control" /> <input type="password" name="password" class="form-control" />
</div> </div>
</div> </div>
<div class="form-group">
<button class="btn btn-default btn-sm" id="gen_pass_bttn" type="button">Generate Password</button>
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -85,9 +85,6 @@
<input type="password" id="password" name="password" class="form-control"> <input type="password" id="password" name="password" class="form-control">
</div> </div>
</div> </div>
<div class="form-group">
<button class="btn btn-default btn-sm" id="gen_pass_bttn" type="button">Generate Password</button>
</div>
</div> </div>
</div> </div>
</div> </div>