mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-01 11:15:55 +00:00
Refactor code and fix tests.
This commit is contained in:
@@ -40,7 +40,7 @@ use Log;
|
||||
* Class ChooseLoginHandler
|
||||
*
|
||||
*/
|
||||
class ChooseLoginHandler implements SpectreJobConfig
|
||||
class ChooseLoginHandler implements SpectreConfigurationInterface
|
||||
{
|
||||
/** @var ImportJob */
|
||||
private $importJob;
|
||||
@@ -93,7 +93,7 @@ class ChooseLoginHandler implements SpectreJobConfig
|
||||
$config['token'] = $token->toArray();
|
||||
$this->repository->setConfiguration($this->importJob, $config);
|
||||
// move job to correct stage to redirect to Spectre:
|
||||
$this->repository->setStage($this->importJob, 'authenticate');
|
||||
$this->repository->setStage($this->importJob, 'do-authenticate');
|
||||
|
||||
return new MessageBag;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user