Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Allow hiding custom login UI even if an htpasswd file is provided. #46

Merged
merged 1 commit into from
Dec 9, 2014
Merged

Allow hiding custom login UI even if an htpasswd file is provided. #46

merged 1 commit into from
Dec 9, 2014

Conversation

drewolson
Copy link
Contributor

We have a few apps behind the google_auth_proxy that are configured to use an htpasswd file for API access. Folks on the team have found the login UI confusing because the htpasswd we're providing is only for API access, but providing an htpasswd file causes the login UI to display a username / password form along with the "Login with Google" button.

This PR adds a flag called display-htpasswd-form. It defaults to true so that the current behavior remains the same. If the flag is set to false, the username / password fields on the login page will not be displayed even if an htpasswd file is provided.

Let me know if this is something you're interested in pulling in.

@jehiah
Copy link
Member

jehiah commented Dec 9, 2014

great idea

jehiah added a commit that referenced this pull request Dec 9, 2014
Allow hiding custom login UI even if an htpasswd file is provided.
@jehiah jehiah merged commit a80b931 into bitly:master Dec 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants