Skip to content

Commit 730f166

Browse files
committed
.
1 parent 1a4ced9 commit 730f166

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/Config/connect.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
22
return [
3+
'name' => env('VATSIM_OAUTH_NAME', 'VATSIM Connect'),
34
'base' => env('VATSIM_OAUTH_BASE', 'https://auth-dev.vatsim.net'),
45
'id' => env('VATSIM_OAUTH_CLIENT', 0),
56
'secret' => env('VATSIM_OAUTH_SECRET', ''),

resources/views/auth/parts/login-form-oidc.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
<div>
55
<button id="oidc-login" class="button outline svg">
6-
<img src="{{ config('connect.icon') }}" height="30px">
7-
<span style="padding-left: 10px">{{ trans('auth.log_in_with', ['socialDriver' => 'VATSIM Connect']) }}</span>
6+
<img src="{{ config('connect.icon') }}" height="30px">
7+
<span style="padding-left: 10px">{{ trans('auth.log_in_with', ['socialDriver' => config('connect.name')]) }}</span>
88
</button>
99
</div>
1010
</form>

resources/views/layouts/parts/header-user-menu.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
@php
3333
$logoutPath = match (config('auth.method')) {
3434
'saml2' => '/saml2/logout',
35-
'oidc' => '/oidc/logout',
35+
'oidc' => '/logout', // !!!
3636
default => '/logout',
3737
}
3838
@endphp
@@ -45,4 +45,4 @@
4545
</form>
4646
</li>
4747
</ul>
48-
</div>
48+
</div>

0 commit comments

Comments
 (0)