Skip to content

Commit 0da731d

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent fda1558 commit 0da731d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lms/lmsweb/views.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ def login(login_message: Optional[str] = None):
117117
error_details = {'next': next_page, 'login_message': login_message}
118118
return redirect(url_for('login', **error_details))
119119

120-
elif user.is_unverified:
121-
login_message = _('עליך לאשר את המייל')
122-
error_details = {'next': next_page, 'login_message': login_message}
123-
return redirect(url_for('login', **error_details))
124-
125120
return render_template('login.html', login_message=login_message)
126121

127122

0 commit comments

Comments
 (0)