mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
fix: disable registration after creating the root user
This commit is contained in:
3 files changed
+15
-7
No files matched your search
@@ -39,14 +39,15 @@ class ProductionSeeder extends Seeder
|
||||
]);
|
||||
}
|
||||
}
|
||||
// Seed root user first
|
||||
$this->call(RootUserSeeder::class);
|
||||
|
||||
if (InstanceSettings::find(0) == null) {
|
||||
InstanceSettings::create([
|
||||
'id' => 0,
|
||||
]);
|
||||
}
|
||||
|
||||
$this->call(RootUserSeeder::class);
|
||||
|
||||
if (GithubApp::find(0) == null) {
|
||||
GithubApp::create([
|
||||
'id' => 0,
|
||||
|
||||
Reference in new issue
Block a user