Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Sep 11, 2021
1 parent 2da74c3 commit 7797f6f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lms/lmsweb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ def login(login_message: Optional[str] = None):
error_details = {'next': next_page, 'login_message': login_message}
return redirect(url_for('login', **error_details))

elif user.is_unverified:
login_message = _('עליך לאשר את המייל')
error_details = {'next': next_page, 'login_message': login_message}
return redirect(url_for('login', **error_details))

return render_template('login.html', login_message=login_message)


Expand Down

0 comments on commit 7797f6f

Please sign in to comment.