Robot accounts allow underscores

Fixes #451
This commit is contained in:
Joseph Schorr 2015-09-08 10:10:00 -04:00
parent 46f150cafb
commit 386fcfd50e
2 changed files with 21 additions and 1 deletions

View file

@ -1,5 +1,5 @@
var TEAM_PATTERN = '^[a-zA-Z][a-zA-Z0-9]+$';
var ROBOT_PATTERN = '^[a-zA-Z][a-zA-Z0-9]{3,29}$';
var ROBOT_PATTERN = '^[a-zA-Z][a-zA-Z0-9_]{3,29}$';
var USER_PATTERN = '^[a-z0-9_]{4,30}$';
// Define the pages module.