mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve export routine and cron job for #837
This commit is contained in:
@@ -108,6 +108,9 @@ class VerifyDatabase extends Command
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function createAccessTokens()
|
||||
{
|
||||
$users = User::get();
|
||||
@@ -117,6 +120,7 @@ class VerifyDatabase extends Command
|
||||
if (is_null($pref)) {
|
||||
$token = $user->generateAccessToken();
|
||||
Preferences::setForUser($user, 'access_token', $token);
|
||||
$this->line(sprintf('Generated access token for user %s', $user->email));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user