Skip to content

Commit 03bcdbc

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent eb717f1 commit 03bcdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/lmsweb/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def login(login_message: Optional[str] = None):
114114
error_details = {'next': next_page, 'login_message': login_message}
115115
return redirect(url_for('login', **error_details))
116116

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

0 commit comments

Comments
 (0)