Switch to side-by-side view
--- a/Allura/allura/model/auth.py +++ b/Allura/allura/model/auth.py @@ -317,6 +317,9 @@ def by_username(cls, name): if not name: return cls.anonymous() + user = cls.query.get(username=name) + if user: + return user return plugin.AuthenticationProvider.get(request).by_username(name) @classmethod