Can you share your code via gist.github.com instead?
On Wednesday, June 18, 2014 5:39:02 PM UTC+2, Zero Sony wrote:
>
> Hi all,
>
> I use cakephp 2.5.1 and my $this->Auth->login() does not work. It
> return me "false" each time.
> Maybe if someone can say me why , i ll be very gratefull ^^
> I m on this problem for severals days T_T
>
> My DB is called users and there are fields "username" and "password" .
>
> *AppControler*
>
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> class AppController extends Controller {
>
> public $components = array('Session', 'Cookie',
> 'Auth' => array(
> 'authenticate' => array('Form'<code class="php plain"
> style="font-variant: inherit; outline: 0px !important; font-family:
> Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace
> !important; line-height: 1.4em !important; border-top-left-radius: 0px
> !important; border-top-right-radius: 0px !important;
> border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px
> !important; bottom: auto !important; float: none !important; height: auto
> !important; left: auto !important; overflow: visible !important; position:
> static !important; right: auto !important; top: auto !important; width:
> auto !important; box-sizing: content-box !impo
> ...
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.