Re: How to know that user login failed due to wrong information?

2011-01-25 Thread Amit Badkas
Hi,

Have you outputted the authentication flash message (mostly in layout) using
following code?

echo $session-flash('auth');

You can also set your own error message when login fails, please have a look
at http://book.cakephp.org/view/1272/loginError

Hope this helps.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Mon, Jan 24, 2011 at 3:42 PM, raymond raymond...@gmail.com wrote:

 How do you do every one.
 I used ACL for user authentication, and now it works well.
 However, when user logs in with wrong information, he(or she) gets
 redirected to login page without any message.
 I am wondering if no way to show any message like Your login
 information is not correct, etc.
 No suggestion?
 Best regards.

 --
 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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php


-- 
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


Re: How to know that user login failed due to wrong information?

2011-01-25 Thread raymond
Thanks for your information.
It is absolutely helpful for me.
Best regards.

-- 
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


How to know that user login failed due to wrong information?

2011-01-24 Thread raymond
How do you do every one.
I used ACL for user authentication, and now it works well.
However, when user logs in with wrong information, he(or she) gets
redirected to login page without any message.
I am wondering if no way to show any message like Your login
information is not correct, etc.
No suggestion?
Best regards.

-- 
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