diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php index e2bdffd26..eee442390 100644 --- a/app/Providers/FortifyServiceProvider.php +++ b/app/Providers/FortifyServiceProvider.php @@ -80,6 +80,8 @@ public function boot(): void $user && Hash::check($request->password, $user->password) ) { + $user->updated_at = now(); + $user->save(); session(['currentTeam' => $user->currentTeam = $user->teams->firstWhere('personal_team', true)]); return $user; }