Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
SHould fix issue #12 in scott2b master
Browse files Browse the repository at this point in the history
  • Loading branch information
hkarpf committed May 28, 2015
1 parent 0cfb768 commit ab97235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multimail/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def set_as_primary(request, email_pk):
messages.error(request, 'Email %s needs to be verified first.' % email)
if email.user != request.user:
messages.error(request, 'Invalid request.')
else:
elif email.is_verified():
email.set_primary()
messages.success(
request, '%s is now marked as your primary email address.' % email
Expand Down

0 comments on commit ab97235

Please sign in to comment.