Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -119,11 +119,11 @@ var connect = function() { | ... | @@ -119,11 +119,11 @@ var connect = function() { |
119 | if(data.reason == 'length') { | 119 | if(data.reason == 'length') { |
120 | message = 'Your username must have at least 3 characters and no more than 16 characters'; | 120 | message = 'Your username must have at least 3 characters and no more than 16 characters'; |
121 | } | 121 | } |
122 | -/* | 122 | + |
123 | if(data.reason == 'format') { | 123 | if(data.reason == 'format') { |
124 | message = 'Your username must only contain alphanumeric characters (numbers, letters and underscores)'; | 124 | message = 'Your username must only contain alphanumeric characters (numbers, letters and underscores)'; |
125 | } | 125 | } |
126 | -*/ | 126 | + |
127 | if(data.reason == 'taken') { | 127 | if(data.reason == 'taken') { |
128 | message = 'This username is already taken'; | 128 | message = 'This username is already taken'; |
129 | } | 129 | } | ... | ... |
-
Please register or login to post a comment