Re: problem in auth component

2011-05-09 Thread Jens Dittrich
I have seen your video but I can't really read your code with the resolution provided, so I have to guess. Could it be that you do not hash the value of the password confirm field? Cake will do a salted hash on the password field automatically, but not on the field for password confirmation that yo

problem in auth component

2011-05-08 Thread taq
I got probem in register page when i use auth component can you see and help to fix it http://www.youtube.com/watch?v=zW3wRUw5NRo -- 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

Re: problem in auth component when i was creating a login controller.

2010-06-08 Thread Narendra Padala
Thanks sir, its working fine.! On Tue, Jun 8, 2010 at 8:40 PM, calvin wrote: > Don't post the same question twice, please. You already had people > helping you with this in the other thread. > > On Jun 8, 4:16 am, Narendra Padala wrote: > > Hi i am new to cake php, when i am creating a log

Re: problem in auth component when i was creating a login controller.

2010-06-08 Thread calvin
Don't post the same question twice, please. You already had people helping you with this in the other thread. On Jun 8, 4:16 am, Narendra Padala wrote: > Hi i am new to cake php, when i am  creating a login authentication using > app controller the following error was showed so please help me out

Re: problem in auth component when i was creating a login controller.

2010-06-08 Thread Jeremy Burns
Read the error message and obey: You have: $this->Auth->authorize = 'tblusers'; The error says: > Warning (512): Auth::isAuthorized() - $authorize is set to an incorrect > value. Allowed settings are: "actions", "crud", "model" or null. > [CORE/cake/libs/controller/components/auth.php, line

problem in auth component when i was creating a login controller.

2010-06-08 Thread Narendra Padala
Hi i am new to cake php, when i am creating a login authentication using app controller the following error was showed so please help me out. here data base i am using postgress sql, here i dont have permission to chanage the databse. this is app_controller.php --

Re: problem in auth component, please help

2008-09-25 Thread [EMAIL PROTECTED]
Yes, when referring to them as urls they should be lowercase as shown here: http://book.cakephp.org/view/391/loginAction It may be confusing at first but it will soon become second nature. /Martin On Sep 25, 1:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > thanks martin. > > but when i

Re: problem in auth component, please help

2008-09-25 Thread [EMAIL PROTECTED]
thanks martin. but when i changed controller name from Patients to patients and Doctors to doctors, it works. do i always need to name controller in lowercase? thanks. On Sep 25, 1:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > One thing I notice in your code is that you allow "login"

Re: problem in auth component, please help

2008-09-25 Thread [EMAIL PROTECTED]
One thing I notice in your code is that you allow "login". Skip that. Auth will allow access to the login-action by itself and this will create a conflict. On Sep 23, 9:52 pm, "Golam Kibria" <[EMAIL PROTECTED]> wrote: > hello i have tried authcomponent but i dont know why it is not working for

Re: problem in auth component, please help

2008-09-24 Thread nachopitt
I know that AppController::beforeFiler() is a better place to put the Auth Component configuration to share the same configuration between all controllers and have all protected by Auth. On Sep 23, 2:52 pm, "Golam Kibria" <[EMAIL PROTECTED]> wrote: > hello i have tried authcomponent but i dont kn

problem in auth component, please help

2008-09-23 Thread Golam Kibria
hello i have tried authcomponent but i dont know why it is not working for me. i have two controller Doctors and Patients. Login methods are in Doctors controller. After hit the login form, the login form reappears with no flash/auth message. Doctors Controller code var $name = 'Doctors'; va