Re: login error

2013-06-18 Thread Eric Haskins
Tiago,

We are going to need a bit more to go on. can you post your Candidatos 
controller and model?

Eric 
High Octane Brands

On Monday, June 17, 2013 3:51:02 PM UTC-4, Tiago Cosme wrote:
>
> friends,
>
> I have a problem in cakephp. Simply my application stopped working basic 
> requirements and do not know why. The cakephp not perform the login, do 
> not accuse me session errors (if the user is logged in / not logged in). 
> He does not charge anything for the view. What could it be? because there 
> appears error in no time.
>
> Eg
>
> http://www.recrutalent.com.br/Candidatos/login
>
> Enter email and password whatsoever! it returns nothing. : (I'm trying to 
> solve for three days).
>
> Thank you!

-- 
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 cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.




login error

2013-06-18 Thread Tiago Cosme
friends,

I have a problem in cakephp. Simply my application stopped working basic 
requirements and do not know why. The cakephp not perform the login, do not 
accuse 
me session errors (if the user is logged in / not logged in). He does not 
charge anything for the view. What could it be? because there appears error in 
no time.

Eg

http://www.recrutalent.com.br/Candidatos/login

Enter email and password whatsoever! it returns nothing. : (I'm trying to 
solve for three days).

Thank you!

-- 
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 cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Login error messages not showing up

2012-03-10 Thread Tilen Majerle
2.0 Auth does not support  AuthComponent:loginError  anymore

look this
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html#authentication-login-and-logout

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Login error messages not showing up

2012-03-10 Thread Daniel
The login error messages are not showing up when I enter an incorrect
username / password.

Here is the code in my app controller:
class AppController extends Controller {
...
function beforeFilter() {
parent::beforeFilter();
$this->Auth->allow('display');
$this->Auth->loginRedirect = '/'; // 
array('controller'=>'posts',
'action' => 'index');
$this->Auth->logoutRedirect = '/'; // 
array('controller'=>'posts',
'action' => 'index');
$this->Auth->authError = 'You cannot access that page.';
$this->Auth->loginError = 'Incorrect username/password.';

Also in my default.ctp body I have:

Session->flash(); ?>
Session->flash('auth'); ?>



I'm using cake 2.0.  I don't know what is missing.

Thanks.

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php