Commit 4c50a585 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Georgios D. Tsoukalas
Browse files

Remove non-existing message use

parent d0363651
......@@ -829,7 +829,6 @@ def change_email(request, activation_key=None,
def send_activation(request, user_id, template_name='im/login.html', extra_context=None):
if request.user.is_authenticated():
messages.error(request, _(astakos_messages.ALREADY_LOGGED_IN))
return HttpResponseRedirect(reverse('edit_profile'))
# TODO: check if moderation is only enabled for local login
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment