Updated to work with latest pickles.

This commit is contained in:
Josh Sherman 2014-08-04 00:40:30 +00:00
parent 998327b35f
commit 526670d333
11 changed files with 21 additions and 648 deletions

View file

@ -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.',
),
);