aboutsummaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/forms.py b/users/forms.py
index de13fe27..aebad567 100644
--- a/users/forms.py
+++ b/users/forms.py
@@ -12,7 +12,7 @@ from django.utils.http import urlsafe_base64_encode
from .tokens import account_activation_token
class RegisterForm(forms.Form):
- username = forms.CharField(label='Username', max_length=30)
+ username = forms.CharField(label='Username', max_length=30, min_length=4)
email = forms.EmailField(label='Email')
password1 = forms.CharField(label='Password', widget=forms.PasswordInput)
password2 = forms.CharField(label='Password (again)', widget=forms.PasswordInput)