wip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user