aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhodecode/lib/helpers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py
index 2f073611..6b161b85 100644
--- a/rhodecode/lib/helpers.py
+++ b/rhodecode/lib/helpers.py
@@ -428,7 +428,6 @@ def person(author, show_attr="username_and_name"):
user = User.get_by_email(_email, case_insensitive=True, cache=True)
if user is not None:
return person_getter(user)
- return _email
# Maybe it's a username?
_author = author_name(author)