Skip to content

Commit 9e823f1

Browse files
author
James Fuqian
authored
[BB2-1376] Improve error message on login to a newly created but not yet activated user account (#1028)
* improve error message when login to a newly created but not yet activated user acct. * incorporate message text (approved) * change error message per reviewer feedback.
1 parent d9799a7 commit 9e823f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/accounts/forms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ class AuthenticationForm(AuthenticationForm):
9595
'invalid_login': _(
9696
"Please enter a correct email and password."
9797
),
98-
'inactive': _("This account is inactive."),
98+
'inactive': _("Please click the verification link in your email before logging in."
99+
),
99100
}
100101

101102
required_css_class = 'required'

0 commit comments

Comments
 (0)