mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 16:41:03 +02:00
Apply Pint fixes
This commit is contained in:
@ -54,7 +54,7 @@ class WebAuthnRecoveryController extends Controller
|
||||
$user->save();
|
||||
Log::notice(sprintf('Legacy login restored for user ID #%s', $user->id));
|
||||
} else {
|
||||
throw new AuthenticationException();
|
||||
throw new AuthenticationException;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
@ -16,7 +16,7 @@ class SinglePageController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
event(new ScanForNewReleaseCalled());
|
||||
event(new ScanForNewReleaseCalled);
|
||||
|
||||
$settings = Settings::all()->toJson();
|
||||
$proxyAuth = config('auth.defaults.guard') === 'reverse-proxy-guard' ? true : false;
|
||||
@ -45,9 +45,9 @@ class SinglePageController extends Controller
|
||||
],
|
||||
'subdirectory' => $subdir,
|
||||
])->toJson(),
|
||||
'urls' => collect([
|
||||
'urls' => collect([
|
||||
'installDocUrl' => $installDocUrl,
|
||||
'ssoDocUrl' => $ssoDocUrl
|
||||
'ssoDocUrl' => $ssoDocUrl,
|
||||
]),
|
||||
'defaultPreferences' => $defaultPreferences,
|
||||
'subdirectory' => $subdir,
|
||||
|
@ -70,7 +70,7 @@ class SystemController extends Controller
|
||||
public function testEmail(Request $request)
|
||||
{
|
||||
try {
|
||||
$request->user()->notify(new TestEmailSettingNotification());
|
||||
$request->user()->notify(new TestEmailSettingNotification);
|
||||
} catch (\Throwable $th) {
|
||||
Log::error($th->getMessage());
|
||||
}
|
||||
|
Reference in New Issue
Block a user