Skip to content

Conversation

@mattinx
Copy link

@mattinx mattinx commented Jan 8, 2026

When using social login as the primary login method, it is sometimes desirable to hide the regular login form so users are forced to login via the social login methods.

This patch adds an additional setting controlled by the boolean environment variable HIDE_LOGIN_FORM, which when enabled prevents the display of the login form, forgot password, and sign-up buttons, as log as there is at least one available social login provider.

This behaviour can by bypassed by adding ?form=1 to the login URL, allowing the use of a local admin account

When using social login as the primary login method, it is sometimes
desirable to hide the regular login form so users are forced to login
via the social login methods.

This patch adds an additional setting controlled by the boolean
environment variable HIDE_LOGIN_FORM, which when enabled prevents the
display of the login form, forgot password, and sign-up buttons, as log
as there is at least one available social login provider.

This behaviour can by bypassed by adding ?form=1 to the login URL,
allowing the use of a local admin account
@CLAassistant
Copy link

CLAassistant commented Jan 8, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants