Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating li3_users auth form adapter config

  • Loading branch information...
commit 85b0cb3e1709f0e7390bb16d5ac518d877feb19b 1 parent 562adb6
@pointlessjon pointlessjon authored pointlessjon committed
Showing with 8 additions and 1 deletion.
  1. +8 −1 libraries/li3_users/config/bootstrap/session.php
View
9 libraries/li3_users/config/bootstrap/session.php
@@ -18,7 +18,14 @@
'name' => 'li3_user'
)
),
- 'adapter' => 'Form',
+ 'adapter' => array(
+ 'Form' => array(
+ 'filters' => array(
+ 'password' => array('lithium\util\String', 'hash')
+ ),
+ 'validators' => array()
+ )
+ ),
'model' => '\li3_users\models\User',
'fields' => array('_id', 'password'),
'validators' => array(
Please sign in to comment.
Something went wrong with that request. Please try again.