File tree 3 files changed +5
-4
lines changed 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
return [
3
+ 'name ' => env ('VATSIM_OAUTH_NAME ' , 'VATSIM Connect ' ),
3
4
'base ' => env ('VATSIM_OAUTH_BASE ' , 'https://auth-dev.vatsim.net ' ),
4
5
'id ' => env ('VATSIM_OAUTH_CLIENT ' , 0 ),
5
6
'secret ' => env ('VATSIM_OAUTH_SECRET ' , '' ),
Original file line number Diff line number Diff line change 3
3
4
4
<div >
5
5
<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 >
8
8
</button >
9
9
</div >
10
10
</form >
Original file line number Diff line number Diff line change 32
32
@php
33
33
$logoutPath = match (config (' auth.method' )) {
34
34
' saml2' => ' /saml2/logout' ,
35
- ' oidc' => ' /oidc/ logout' ,
35
+ ' oidc' => ' /logout' , // !!!
36
36
default => ' /logout' ,
37
37
}
38
38
@endphp
45
45
</form >
46
46
</li >
47
47
</ul >
48
- </div >
48
+ </div >
You can’t perform that action at this time.
0 commit comments