Skip to content

Commit 059c85f

Browse files
fix(config): set openidLoginEnabled from OpenID only so Solid-only shows one button
Stop setting openidLoginEnabled when only Solid is enabled so the login page shows the Solid button only, not both OpenID and Solid.
1 parent c1e7e91 commit 059c85f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

api/server/routes/config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ router.get('/', async function (req, res) {
7676
!!process.env.APPLE_TEAM_ID &&
7777
!!process.env.APPLE_KEY_ID &&
7878
!!process.env.APPLE_PRIVATE_KEY_PATH,
79-
// If Solid is enabled but OpenID is not, still show OpenID button since they use the same strategy
80-
openidLoginEnabled: isOpenIdEnabled || isSolidEnabled,
79+
openidLoginEnabled: isOpenIdEnabled,
8180
openidLabel: process.env.OPENID_BUTTON_LABEL || 'Continue with OpenID',
8281
openidImageUrl: process.env.OPENID_IMAGE_URL,
8382
openidAutoRedirect: isEnabled(process.env.OPENID_AUTO_REDIRECT),

0 commit comments

Comments
 (0)