auth-plugins: remove dead code
This commit is contained in:
parent
e820f43be3
commit
662dda4aa7
1 changed files with 0 additions and 2 deletions
|
|
@ -549,8 +549,6 @@ def authenticate(username, password, environ=None, auth_type=None,
|
|||
for plugin in authn_registry.get_plugins_for_authentication():
|
||||
plugin.set_auth_type(auth_type)
|
||||
plugin.set_calling_scope_repo(acl_repo_name)
|
||||
user = plugin.get_user(username)
|
||||
display_user = user.username if user else username
|
||||
|
||||
if headers_only and not plugin.is_headers_auth:
|
||||
log.debug('Auth type is for headers only and plugin `%s` is not '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue