mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Various code cleanup.
This commit is contained in:
parent
f12744ad8c
commit
49013264d5
@ -207,6 +207,7 @@ class ProfileController extends Controller
|
||||
}
|
||||
|
||||
// generate codes if not in session:
|
||||
$recoveryCodes = '';
|
||||
if (!session()->has('temp-mfa-codes')) {
|
||||
// generate codes + store + flash:
|
||||
$recovery = app(Recovery::class);
|
||||
|
@ -32,7 +32,6 @@ use FireflyIII\Support\Http\Controllers\GetConfigurationData;
|
||||
use Illuminate\Contracts\View\Factory;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\View\View;
|
||||
use Laravel\Passport\Passport;
|
||||
use Log;
|
||||
@ -206,7 +205,7 @@ class InstallController extends Controller
|
||||
return false;
|
||||
}
|
||||
// clear cache as well.
|
||||
Cache::clear();
|
||||
Cache::clear(); // @phpstan-ignore-line
|
||||
Preferences::mark();
|
||||
|
||||
return true;
|
||||
|
@ -56,6 +56,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property \Carbon\Carbon|null $process_date
|
||||
* @property int $order
|
||||
* @property int $tag_count
|
||||
* @property string $transaction_type_type
|
||||
* @property bool $encrypted
|
||||
* @property bool $completed
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Attachment[] $attachments
|
||||
|
Loading…
Reference in New Issue
Block a user