Hi All,
I have started with Auth
class AppController extends Controller {
var $components = array('Auth');
function beforeFilter(){
Security::setHash('md5');
$this->Auth->loginAction = array('controller' => 'users', 'action'
=> 'login');
$this->Auth->loginRedirect = array('controller' => 'users',
'action' => 'index');
$this->Auth->logoutRedirect = '/';
$this->Auth->loginError = 'Invalid e-mail / password combination.
Please try again';
$this->Auth->autoRedirect = false;
}
}
this is my app_controller , but password field not converting to md5
please help me .....
---------------------------------------------------------
Miqdad Ali K
+919995258790
http://www.miqdadalik.com
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php