Skip to content

Commit 9c0f53e

Browse files
authored
Code cleanup (librenms#19052)
SocialiteController, two minor cleanups
1 parent 54ecfb4 commit 9c0f53e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Http/Controllers/Auth/SocialiteController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
use App\Facades\LibrenmsConfig;
2727
use App\Http\Controllers\Controller;
2828
use App\Models\User;
29-
use Config;
3029
use Illuminate\Http\RedirectResponse;
3130
use Illuminate\Http\Request;
3231
use Illuminate\Support\Arr;
3332
use Illuminate\Support\Facades\Auth;
33+
use Illuminate\Support\Facades\Config;
3434
use Laravel\Socialite\Contracts\User as SocialiteUser;
3535
use Laravel\Socialite\Facades\Socialite;
3636
use LibreNMS\Exceptions\AuthenticationException;
@@ -103,7 +103,7 @@ public function metadata(Request $request, string $provider): \Illuminate\Http\R
103103
return $socialite->getServiceProviderMetadata();
104104
}
105105

106-
return abort(404);
106+
abort(404);
107107
}
108108

109109
private function login(string $provider): RedirectResponse

0 commit comments

Comments
 (0)