# HG changeset patch # User Marcin Kuzminski # Date 2017-04-10 15:13:09 # Node ID 5c0e2921c5b61093f579a7b082ed98498c0a7b6d # Parent 89bb13104d001aab9c6bf9d991358ed6b38775fa auth-plugins: remove dead code diff --git a/rhodecode/authentication/base.py b/rhodecode/authentication/base.py --- a/rhodecode/authentication/base.py +++ b/rhodecode/authentication/base.py @@ -549,8 +549,6 @@ def authenticate(username, password, env 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 '