mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-11-05 13:32:45 +00:00
commit
0d0dda150e
2 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@ from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class RegistrationForm(forms.Form):
|
||||
username = forms.CharField(max_length=32, required=True)
|
||||
username = forms.CharField(max_length=30, required=True)
|
||||
password = forms.CharField(widget=forms.PasswordInput(), required=True)
|
||||
password_again = forms.CharField(widget=forms.PasswordInput(), required=True, label="Password Again")
|
||||
email = forms.CharField(max_length=254, required=True)
|
||||
@@ -28,4 +28,4 @@ class RegistrationForm(forms.Form):
|
||||
if self.cleaned_data['email'] != self.cleaned_data['email_again']:
|
||||
raise forms.ValidationError(u'Emails do not match')
|
||||
|
||||
return self.cleaned_data
|
||||
return self.cleaned_data
|
||||
Binary file not shown.
Reference in new issue
Block a user