Don't add a "password required" notification for non-database auth via OIDC
This commit is contained in:
parent
d32139292b
commit
503cff8f0c
6 changed files with 30 additions and 1 deletions
|
@ -28,6 +28,11 @@ class FederatedUsers(object):
|
|||
def supports_encrypted_credentials(self):
|
||||
return True
|
||||
|
||||
@property
|
||||
def requires_distinct_cli_password(self):
|
||||
# Since the federated auth provides a password which works on the CLI.
|
||||
return False
|
||||
|
||||
def get_user(self, username_or_email):
|
||||
""" Retrieves the user with the given username or email, returning a tuple containing
|
||||
a UserInformation (if success) and the error message (on failure).
|
||||
|
|
Reference in a new issue