fix
This commit is contained in:
parent
75fcd88f73
commit
19b1f5004a
@ -32,7 +32,6 @@ class User extends Authenticatable implements SendsEmail
|
|||||||
$team = [
|
$team = [
|
||||||
'name' => $user->name . "'s Team",
|
'name' => $user->name . "'s Team",
|
||||||
'personal_team' => true,
|
'personal_team' => true,
|
||||||
'show_boarding' => true,
|
|
||||||
];
|
];
|
||||||
if ($user->id === 0) {
|
if ($user->id === 0) {
|
||||||
$team['id'] = 0;
|
$team['id'] = 0;
|
||||||
|
@ -48,8 +48,7 @@ function currentTeam()
|
|||||||
|
|
||||||
function showBoarding(): bool
|
function showBoarding(): bool
|
||||||
{
|
{
|
||||||
return false;
|
return currentTeam()->show_boarding ?? false;
|
||||||
// return currentTeam()->show_boarding ?? false;
|
|
||||||
}
|
}
|
||||||
function refreshSession(): void
|
function refreshSession(): void
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user