This commit is contained in:
Andras Bacsai committed 2023-06-20 19:08:43 +02:00
1 parent f648ab49f7
commit 9f0ca1cc2e
19 files changed
+226 -197

No files matched your search

+14 -4
View File
@@ -34,10 +34,20 @@ class User extends Authenticatable implements SendsEmail
$team = [
'name' => $user->name . "'s Team",
'personal_team' => true,
'extra_attributes' => [
'notifications_smtp_test' => true,
'notifications_discord_test' => true,
]
'smtp' => [
'enabled' => false,
],
'smtp_notifications' => [
'test' => true,
'deployments' => false,
],
'discord' => [
'enabled' => false,
],
'discord_notifications' => [
'test' => true,
'deployments' => false,
],
];
if ($user->id === 0) {
$team['id'] = 0;