Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Dec 31, 2021
1 parent df56cc4 commit 79280c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/Http/Controllers/Import/ConfigurationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ public function index(Request $request)
// if config says to skip it, skip it:
$overruleSkip = 'true' === $request->get('overruleskip');
if (null !== $configuration && true === $configuration->isSkipForm() && false === $overruleSkip) {
Log::debug('Skip configuration, go straight to the next step.');
// set config as complete.
session()->put(Constants::CONFIG_COMPLETE_INDICATOR, true);
if ('nordigen' === $configuration->getFlow() || 'spectre' === $configuration->getFlow()) {
// at this point, nordigen is ready for data conversion.
session()->put(Constants::READY_FOR_CONVERSION, true);
}
// skipForm
return redirect()->route('005-roles.index');
}
Expand Down

0 comments on commit 79280c8

Please sign in to comment.