Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lms/lmsweb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,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))

Comment on lines -120 to -124
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function login refactored with the following changes:

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


Expand Down