Disable fresh login check in auth engines that won't support it
This commit is contained in:
parent
524d77f527
commit
2214a2c7ad
5 changed files with 20 additions and 2 deletions
|
@ -187,6 +187,11 @@ class UserAuthentication(object):
|
|||
""" Returns whether this auth system supports using encrypted credentials. """
|
||||
return self.state.supports_encrypted_credentials
|
||||
|
||||
@property
|
||||
def supports_fresh_login(self):
|
||||
""" Returns whether this auth system supports the fresh login check. """
|
||||
return self.state.supports_fresh_login
|
||||
|
||||
def query_users(self, query, limit=20):
|
||||
""" Performs a lookup against the user system for the specified query. The returned tuple
|
||||
will be of the form (results, federated_login_id, err_msg). If the method is unsupported,
|
||||
|
|
Reference in a new issue