From 662dda4aa70b06ba166dcab0ee87c86d6510ef15 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 10 Apr 2017 17:13:09 +0200 Subject: [PATCH] auth-plugins: remove dead code --- rhodecode/authentication/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rhodecode/authentication/base.py b/rhodecode/authentication/base.py index 2212f85e..1dff506b 100644 --- a/rhodecode/authentication/base.py +++ b/rhodecode/authentication/base.py @@ -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 '