Login: Add logging for incorrect JS hostnames

This commit is contained in:
Raphael Michel
2024-04-02 11:34:02 +02:00
parent 20d0a9a0ed
commit f3f42a8a42
7 changed files with 78 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ class LoginForm(forms.Form):
username/password logins.
"""
keep_logged_in = forms.BooleanField(label=_("Keep me logged in"), required=False)
origin = forms.CharField(widget=forms.HiddenInput, required=False)
error_messages = {
'invalid_login': _("This combination of credentials is not known to our system."),