mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 02:43:45 +02:00
Assorted fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user