summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-07 00:51:27 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-07 00:51:27 -0400
commitfd3308f9aacc9efb2a2692dbff8090dfcd663c88 (patch)
treec6247ba9fdf36c025ad23c498ff054cbaa73e7ff /app/models/user.rb
parent3602d46e95f9a13ec2a8ff0b0909059af64c55ba (diff)
Matches move forward more
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 0446b35..3407355 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -111,7 +111,7 @@ class User < ActiveRecord::Base
# VALID_USER_NAME checks to make sure a user's user_name
# is in the proper format.
- VALID_USER_NAME_REG = /\A[a-zA-Z0-9\-]+\z/
+ VALID_USER_NAME_REG = /\A[a-zA-Z0-9 _\-]+\z/
# The following lines put a user account through a series of
# validations in order to make sure all of their information