mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -210,9 +210,7 @@ class ProfileController extends Controller
|
||||
public function confirmEmailChange(UserRepositoryInterface $repository, string $token)
|
||||
{
|
||||
if (!$this->internalAuth || !$this->internalIdentity) {
|
||||
|
||||
throw new FireflyException(trans('firefly.external_user_mgt_disabled'));
|
||||
|
||||
}
|
||||
// find preference with this token value.
|
||||
/** @var Collection $set */
|
||||
@@ -349,7 +347,8 @@ class ProfileController extends Controller
|
||||
}
|
||||
|
||||
return view(
|
||||
'profile.index', compact('subTitle', 'mfaBackupCount', 'userId', 'accessToken', 'enabled2FA', 'isInternalAuth', 'isInternalIdentity')
|
||||
'profile.index',
|
||||
compact('subTitle', 'mfaBackupCount', 'userId', 'accessToken', 'enabled2FA', 'isInternalAuth', 'isInternalIdentity')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -633,7 +632,6 @@ class ProfileController extends Controller
|
||||
session()->flash('error', (string) trans('auth.failed'));
|
||||
|
||||
return redirect(route('profile.index'));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user