Skip to content

Commit f6b87c8

Browse files
committed
Remove fallback, update example env file
1 parent 3d70d3d commit f6b87c8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ APP_ENV=production
7676
APP_DEBUG=false
7777
APP_TIMEZONE=UTC
7878
APP_URL=
79+
# Passkey RP ID (domain only, no scheme/path)
7980
PASSKEY_RELYING_PARTY_ID=
8081

8182
# Trusted proxies / Cloudflare

config/passkeys.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@
3737
'name' => config('app.name'),
3838
'id' => env(
3939
'PASSKEY_RELYING_PARTY_ID',
40-
env(
41-
'PASSKEY_RELAYING_PARTY_ID',
42-
parse_url(config('app.url', 'http://localhost'), PHP_URL_HOST) ?: 'localhost'
43-
)
40+
parse_url(config('app.url', 'http://localhost'), PHP_URL_HOST) ?: 'localhost'
4441
),
4542
'icon' => null,
4643
],

0 commit comments

Comments
 (0)