Updated to work with latest pickles.
This commit is contained in:
parent
998327b35f
commit
526670d333
11 changed files with 21 additions and 648 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
class user_authenticate extends AnonymousModule
|
||||
{
|
||||
protected $ajax = true;
|
||||
protected $method = 'POST';
|
||||
protected $validate = array(
|
||||
public $ajax = true;
|
||||
public $method = 'POST';
|
||||
public $validate = array(
|
||||
'email' => array(
|
||||
'length:>:100' => 'Invalid email address or password.',
|
||||
'length:<:100' => 'Invalid email address or password.',
|
||||
'filter:email' => 'Invalid email address or password.',
|
||||
),
|
||||
'password' => array(
|
||||
'length:<:8' => 'Invalid email address or password.',
|
||||
'length:>:8' => 'Invalid email address or password.',
|
||||
),
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue