Assorted fixes
This commit is contained in:
parent
7cead2635a
commit
97cc30e502
3 changed files with 6 additions and 6 deletions
|
@ -85,6 +85,12 @@ class UpdateEnvironment extends Command
|
|||
$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'))) {
|
||||
$variables['DB_HOST'] = $this->anticipate('Database Host', ['localhost', '127.0.0.1', config('database.connections.mysql.host')], config('database.connections.mysql.host'));
|
||||
} else {
|
||||
|
|
|
@ -107,9 +107,6 @@
|
|||
<input type="password" name="password" class="form-control" />
|
||||
</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>
|
||||
|
|
|
@ -85,9 +85,6 @@
|
|||
<input type="password" id="password" name="password" class="form-control">
|
||||
</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>
|
||||
|
|
Loading…
Reference in a new issue