mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 17:05:50 +01:00
Allow dots in usernames
This commit is contained in:
@@ -13,7 +13,7 @@ class UserCreationForm(forms.ModelForm):
|
||||
}
|
||||
username = forms.RegexField(
|
||||
label=_("Username"), max_length=30,
|
||||
regex=r'^[\w-]+$'
|
||||
regex=r'^[\w-.]+$'
|
||||
)
|
||||
password = forms.CharField(
|
||||
label=_("Password"),
|
||||
|
||||
Reference in New Issue
Block a user