Add feature flag to disable username confirmation

Fixes https://jira.coreos.com/browse/QUAY-914
This commit is contained in:
Joseph Schorr 2018-06-01 13:24:29 -04:00
parent 81ea73ce0d
commit b2262eaf46
8 changed files with 33 additions and 3 deletions

View file

@ -279,6 +279,10 @@ class DefaultConfig(ImmutableConfig):
# Feature Flag: If set to true, autocompletion will apply to partial usernames.
FEATURE_PARTIAL_USER_AUTOCOMPLETE = True
# Feature Flag: If set to true, users can confirm (and modify) their initial usernames when
# logging in via OIDC or a non-database internal auth provider.
FEATURE_USERNAME_CONFIRMATION = True
# If a namespace is defined in the public namespace list, then it will appear on *all*
# user's repository list pages, regardless of whether that user is a member of the namespace.
# Typically, this is used by an enterprise customer in configuring a set of "well-known"