Skip to content

Commit 97cc30e

Browse files
committed
Assorted fixes
1 parent 7cead26 commit 97cc30e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/Console/Commands/UpdateEnvironment.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ public function handle()
8585
$variables['SERVICE_AUTHOR'] = (string) Uuid::generate(4);
8686
}
8787

88+
if(isset($variables['APP_THEME'])) {
89+
if ($variables['APP_THEME'] === 'default') {
90+
$variables['APP_THEME'] = 'pterodactyl';
91+
}
92+
}
93+
8894
if (is_null($this->option('dbhost'))) {
8995
$variables['DB_HOST'] = $this->anticipate('Database Host', ['localhost', '127.0.0.1', config('database.connections.mysql.host')], config('database.connections.mysql.host'));
9096
} else {

resources/themes/pterodactyl/admin/users/new.blade.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@
107107
<input type="password" name="password" class="form-control" />
108108
</div>
109109
</div>
110-
<div class="form-group">
111-
<button class="btn btn-default btn-sm" id="gen_pass_bttn" type="button">Generate Password</button>
112-
</div>
113110
</div>
114111
</div>
115112
</div>

resources/themes/pterodactyl/admin/users/view.blade.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@
8585
<input type="password" id="password" name="password" class="form-control">
8686
</div>
8787
</div>
88-
<div class="form-group">
89-
<button class="btn btn-default btn-sm" id="gen_pass_bttn" type="button">Generate Password</button>
90-
</div>
9188
</div>
9289
</div>
9390
</div>

0 commit comments

Comments
 (0)