Skip to content

Commit 64d8b31

Browse files
committed
Allow longer usernames
1 parent a43a904 commit 64d8b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class User < ActiveRecord::Base
3131

3232
validates :login, presence: true,
3333
uniqueness: { case_sensitive: false },
34-
length: { within: 2..20 }
34+
length: { within: 2..50 }
3535

3636
validates :email, presence: true,
3737
uniqueness: { case_sensitive: false }

0 commit comments

Comments
 (0)