Add feature flag to disable username confirmation
Fixes https://jira.coreos.com/browse/QUAY-914
This commit is contained in:
parent
81ea73ce0d
commit
b2262eaf46
8 changed files with 33 additions and 3 deletions
|
@ -133,6 +133,7 @@ class FederatedUsers(object):
|
|||
username,
|
||||
set_password_notification=False,
|
||||
email_required=self._requires_email,
|
||||
confirm_username=features.USERNAME_CONFIRMATION,
|
||||
prompts=prompts)
|
||||
except model.InvalidEmailAddressException as iae:
|
||||
return (None, iae.message)
|
||||
|
|
Reference in a new issue