Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing other unnecessary limits on user fields (refs #4011)

  • Loading branch information...
commit 72f011808c5fdb620831613e4b9e86623a5a229d 1 parent 776c699
@Zeelot Zeelot authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  classes/model/auth/user.php
View
3  classes/model/auth/user.php
@@ -32,9 +32,7 @@ public function rules()
return array(
'username' => array(
array('not_empty'),
- array('min_length', array(':value', 4)),
array('max_length', array(':value', 32)),
- array('regex', array(':value', '/^[-\pL\pN_.]++$/uD')),
array(array($this, 'username_available'), array(':validation', ':field')),
),
'password' => array(
@@ -42,7 +40,6 @@ public function rules()
),
'email' => array(
array('not_empty'),
- array('min_length', array(':value', 4)),
array('email'),
array(array($this, 'email_available'), array(':validation', ':field')),
),
Please sign in to comment.
Something went wrong with that request. Please try again.