on login, update updated_at
This commit is contained in:
parent
c26002426f
commit
5a3457c180
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user