mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Fixes for last login for clients
This commit is contained in:
parent
f53687a7f8
commit
26a4198cbe
@ -40,6 +40,6 @@ class UpdateContactLastLogin implements ShouldQueue
|
||||
$client_contact->last_login = now();
|
||||
$client_contact->client->last_login = now();
|
||||
|
||||
$client_contact->save();
|
||||
$client_contact->push();
|
||||
}
|
||||
}
|
||||
|
@ -94,6 +94,7 @@ class Client extends BaseModel implements HasLocalePreference
|
||||
'updated_at' => 'timestamp',
|
||||
'created_at' => 'timestamp',
|
||||
'deleted_at' => 'timestamp',
|
||||
'last_login' => 'timestamp',
|
||||
];
|
||||
|
||||
protected $touches = [];
|
||||
|
Loading…
Reference in New Issue
Block a user