diff options
author | Enzo Zuccolotto <enzozuccolotto@gmail.com> | 2015-04-10 09:53:33 -0300 |
---|---|---|
committer | Enzo Zuccolotto <enzozuccolotto@gmail.com> | 2015-04-10 09:53:33 -0300 |
commit | 4e155a14786b72d77531024dd883b4635c690bec (patch) | |
tree | 68450963d2f588e57087c4d31aed12b3595d02f3 /service/pixelated/config | |
parent | 364902bc3f3b33c2b36bb0c2644e931aeeaeb381 (diff) |
Allows dot on username.
-- Issue #147
@anikarni and @enzoz pairing
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/config/register.py b/service/pixelated/config/register.py index 5e5d94a8..d54b10ff 100644 --- a/service/pixelated/config/register.py +++ b/service/pixelated/config/register.py @@ -30,6 +30,6 @@ def register(username, server_name): def validate_username(username): - accepted_characters = '^[a-z0-9\-\_]*$' + accepted_characters = '^[a-z0-9\-\_\.]*$' if not re.match(accepted_characters, username): raise ValueError |