Skip to content

Fix(login-register): hide the 'or' divider on register when no SSO is enabled - #83

Open
Musicminion wants to merge 1 commit into
server-profrom
fix-register-sso-divider-20260827
Open

Fix(login-register): hide the 'or' divider on register when no SSO is enabled#83
Musicminion wants to merge 1 commit into
server-profrom
fix-register-sso-divider-20260827

Conversation

@Musicminion

@Musicminion Musicminion commented Aug 27, 2026

Copy link
Copy Markdown
Member

Description

The ldap/saml/oidc buttons are each guarded by an if, but the 'or' separator above them was rendered unconditionally, so it showed on a plain email-only register page (issue #77). Guard it with the same condition already used in login.pug.

Related issues / Pull Requests

Contributor Agreement

… configured

The ldap/saml/oidc buttons are each guarded by an if, but the 'or'
separator above them was rendered unconditionally, so it showed on a
plain email-only register page (issue #77). Guard it with the same
condition already used in login.pug.
@Musicminion

Copy link
Copy Markdown
Member Author

@codex, code reivew

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 3e0e306e04

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@aruznieto

Copy link
Copy Markdown

Try to hide local login when OICD is enabled pls.

@Musicminion

Copy link
Copy Markdown
Member Author

Try to hide local login when OICD is enabled pls.

This might be a bit tricky. For example, if the admin initially registered through the launchpad using a username and password, hiding the local login once OIDC is enabled could prevent the admin from logging in at all.

Of course, the admin could potentially link their account to OAuth/OIDC first, but in that case I’m not sure hiding the local login provides much practical benefit.

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

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Register display: when there are no OAuth settings, or still shows.

2 participants