HI,
I have a problem with cake php built in auth - i cannot log in ...
1)user is added through app control pannel and hashed using $this->auth->password('xxx') - i've checked it's corrent in db
2)security salt is not emtpy
3) in action User/Login data['User']['password'] is empty (i don't know if this is correct but i've read that Auth remove content of data['password'] or data['User']['password'] - am I correct?
4) db has table users with fields username and password
After i'm trying to login $session->flash('auth') says:
Login failed. Invalid username or password.
but beforeFilter in AppController i've set
$this->Auth->loginError = 'No, you fool! Thats not the right password!';
So what can be wrong? :(