mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
minor fix for tokens
This commit is contained in:
parent
d236dd6ff6
commit
2281b8490e
@ -37,7 +37,8 @@ class TokenRepository extends BaseRepository
|
||||
public function save(array $data, CompanyToken $company_token)
|
||||
{
|
||||
$company_token->fill($data);
|
||||
|
||||
$company_token->is_system = true;
|
||||
|
||||
$company_token->save();
|
||||
|
||||
return $company_token;
|
||||
|
Loading…
Reference in New Issue
Block a user