Skip to content

Commit 7797f6f

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent 2da74c3 commit 7797f6f

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
@@ -116,11 +116,6 @@ def login(login_message: Optional[str] = None):
116116
error_details = {'next': next_page, 'login_message': login_message}
117117
return redirect(url_for('login', **error_details))
118118

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

126121

0 commit comments

Comments
 (0)