Re: Change password

2013-05-28 Thread Igor Borovica
ange >> your password due a server problem, try again latter'); >> } >> } else { >> $this->Session->setFlash('Your password and your >> retype must match'); >> } >>

Re: Change password

2013-05-28 Thread André Luis
$this->Session->setFlash('Your password and your > retype must match'); > } > } else { > $this->Session->setFlash('Password or retype not sent'); > } > } > } > > > It

Re: Change password

2013-05-28 Thread André Luis
e { $this->Session->setFlash('Your password and your retype must match'); } } else { $this->Session->setFlash('Password or retype not sent'); } } } It´s something like this Em

Re: Change password

2013-05-28 Thread Igor Borovica
Dana ponedjeljak, 27. svibnja 2013. 20:26:09 UTC+2, korisnik André Luis napisao je: > > What is your doubt?? > > Em sábado, 25 de maio de 2013 14h23min47s UTC-3, Igor Borovica escreveu: >> >> Can someone help me with change password function in cakephp? > > Can

Re: Change password

2013-05-27 Thread André Luis
What is your doubt?? Em sábado, 25 de maio de 2013 14h23min47s UTC-3, Igor Borovica escreveu: > > Can someone help me with change password function in cakephp? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this m

Change password

2013-05-27 Thread Igor Borovica
Can someone help me with change password function in cakephp? -- 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

Re: I want to change password using cake php

2013-01-02 Thread Paulo Braga
foldes Users called change_password.ctp in the change password you have to put: public function changePassword($id = null) { if ($this->data) { if ($this->User->save($this->data)) $this->Session->setFlash('Password changed successful

Re: I want to change password using cake php

2012-12-27 Thread Jeremy Burns : Class Outfit
Start here like we all did http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html then you won't be so new. Jeremy Burns Class Outfit http://www.classoutfit.com On 27 Dec 2012, at 05:34, sweety wrote: > how to hash? > > i am new to cakephp > > > On Wednesday,

Re: I want to change password using cake php

2012-12-27 Thread sweety
how to hash? i am new to cakephp On Wednesday, December 26, 2012 10:11:26 AM UTC-5, euromark wrote: > > just follow the documentation: > > http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords > > you might also want to read > http://www.dereuromark.de/2

Re: I want to change password using cake php

2012-12-26 Thread euromark
just follow the documentation: http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords you might also want to read http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/ use an alias field, hash and store the password. thats all there is to

Re: I want to change password using cake php

2012-12-26 Thread Jonathan Sundquist
You should never modify the database manually. You should have cakephp update the database for you. On Dec 26, 2012 1:15 AM, "crush" wrote: > Turn debug to 2 in the config file. Login with the new password and copy > the password string it posts in the debug at the bottom of the page after > you

Re: I want to change password using cake php

2012-12-25 Thread crush
Turn debug to 2 in the config file. Login with the new password and copy the password string it posts in the debug at the bottom of the page after you try to login. Paste that into the database in the password field for the appropriate user. -- Like Us on FaceBook https://www.facebook.com/Cake

Re: I want to change password using cake php

2012-12-25 Thread Jonathan Sundquist
You can update it the same way you created it. On Dec 25, 2012 7:11 PM, "euromark" wrote: > did you try google? > > > Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety: >> >> >> -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP >

Re: I want to change password using cake php

2012-12-25 Thread euromark
did you try google? Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety: > > > -- 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 post

Re: I want to change password using cake php

2012-12-25 Thread Jonathan Sundquist
That's nice. On Dec 25, 2012 7:07 PM, "sweety" wrote: > > -- > 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 post to this group, send

I want to change password using cake php

2012-12-25 Thread sweety
-- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group,

Re: User to change password

2011-02-11 Thread euromark
even better: use $this->Auth->password() from the auth component (if you use it) On 11 Feb., 23:21, Ryan Schmidt wrote: > On Feb 11, 2011, at 00:13, Ed wrote: > > > I am new to Cake but, am diving in head first... I've tried several > > different types of coding examples on how to allow a User t

Re: User to change password

2011-02-11 Thread Ryan Schmidt
On Feb 11, 2011, at 00:13, Ed wrote: > I am new to Cake but, am diving in head first... I've tried several > different types of coding examples on how to allow a User to change > their password. This is the version I am trying and we (my group) do > have Auth working, so 'User' needs to be "Auth.U

User to change password

2011-02-11 Thread Ed
I am new to Cake but, am diving in head first... I've tried several different types of coding examples on how to allow a User to change their password. This is the version I am trying and we (my group) do have Auth working, so 'User' needs to be "Auth.User" ... Can anyone give me an idea why it doe

Re: Validation messages not showing up on Change Password page

2011-01-09 Thread Amit Badkas
Hi, Check if the validation errors has any data or not. The code for this will be something like if ($this->User->save($this->data)) { $this->Session->setFlash(__('Your account information has been saved', true)); $this->redirect(array('controller' => 'users', 'action' => 'view')); } else

Validation messages not showing up on Change Password page

2011-01-07 Thread alvinj
Hi, I'm using Cake 1.3.6, and I have a login page and a register page working with my application using the Auth component, but as I try to create a 'change password' page I'm finding that my validation messages aren't showing up on my change_password.ctp page. I am us

Re: Change Password

2010-07-27 Thread Davor Ilic
function admin_login() { $this->data['User']['passwort'] = md5($this->data['User']['passwort']); $this->Auth->login($this->data); } 2010/7/27 Davor Ilic > > function admin_login() { > $this->data['User']['passwort'] = md5($this->data['User']['passwort']); > $this->Au

Re: Change Password

2010-07-27 Thread Davor Ilic
function admin_login() { $this->data['User']['passwort'] = md5($this->data['User']['passwort']); $this->Auth->login($this->data); } 2010/7/27 Davor Ilic > or like this > > > 2010/7/27 Davor Ilic > >> do i use the logn method wrong? >> >> >> function admin_login() { >> $this->Auth

Re: Change Password

2010-07-27 Thread Davor Ilic
or like this 2010/7/27 Davor Ilic > do i use the logn method wrong? > > > function admin_login() { > $this->Auth->password($this->data['User']['passwort']); > > $this->Auth->login($this->data); > > } > > 2010/7/27 Davor Ilic > >> My login doesn´t redirect me to the securitysite. >> >> 201

Re: Change Password

2010-07-27 Thread Davor Ilic
do i use the logn method wrong? function admin_login() { $this->Auth->password($this->data['User']['passwort']); $this->Auth->login($this->data); } 2010/7/27 Davor Ilic > My login doesn´t redirect me to the securitysite. > > 2010/7/27 Davor Ilic > > ok thats cool thanks. i have also a

Re: Change Password

2010-07-27 Thread Davor Ilic
My login doesn´t redirect me to the securitysite. 2010/7/27 Davor Ilic > ok thats cool thanks. i have also another question. > > and where can i find this. because in my user table all of them don´t have > a security salt or anything they are only in md5 > and my user have to login they don´t ne

Re: Change Password

2010-07-27 Thread Davor Ilic
ok thats cool thanks. i have also another question. and where can i find this. because in my user table all of them don´t have a security salt or anything they are only in md5 and my user have to login they don´t need any security salt only md5. how can i cahange this. 2010/7/27 mike karthause

Re: Change Password

2010-07-27 Thread mike karthauser
hi Davor you probably need to sort your Auth fields array http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables which will allow you to access pwd into Auth. On 27 Jul 2010, at 18:08, Davor Ilic wrote: > Hi i have a problem with my password row. > > i have to use the row -> pwd

Change Password

2010-07-27 Thread Davor Ilic
Hi i have a problem with my password row. i have to use the row -> pwd but if i do this to login i got this array: Array ( [User] => Array ( [email] => m...@ema.il [pwd] => mypassword [password] => ) ) it seems that i can´t say don´t us

Re: Change Password

2009-09-30 Thread Flipflops
last' => true), > > >                        'pass-Similar' => array( > >                                'rule' => 'checkPasswords', > >                                'message' => 'Different password entered.', > >                        

Re: Change Password

2009-09-29 Thread brian
gt; 'Different password entered.', >                                'last' => true) >                        ), > > >                'confirm' => array( >                        'confirm-notempty' => array( >                                'rule' => array('notempty

RE: Change Password

2009-09-29 Thread Dave Maharaj :: WidePixels.com
'required' => true, 'allowEmpty' => false, 'message' => 'Pleae confirm your password.') ), ... function checkPasswords() { if($this-

RE: Change Password

2009-09-29 Thread Dave Maharaj :: WidePixels.com
Ok cool will give it a try. Dave -Original Message- From: Miles J [mailto:mileswjohn...@gmail.com] Sent: September-29-09 3:40 PM To: CakePHP Subject: Re: Change Password I dont think hash() adds the security salt, you must use Auth->passw

Re: Change Password

2009-09-29 Thread Miles J
I dont think hash() adds the security salt, you must use Auth->password (). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscrib

Change Password

2009-09-29 Thread Dave Maharaj :: WidePixels.com
I am trying to set up a change password section. password field and confirm field only. model: validation rules: 'password' => array( 'pass-notempty' => array( 'rule' => array('notempty'), 'required' => true, &#x

Re: Auth Component - Password empty - Try to make a "change password" page

2009-07-21 Thread Smelly Eddie
Reset Passwords in CakePHP http://edwardawebb.com/programming/php-programming/cakephp/reset-lost-passwords-cakephp On Jul 20, 1:24 pm, brian wrote: > I've never had problems with this but there's lots of info online: > > http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS271&=&q=... >

Re: Auth Component - Password empty - Try to make a "change password" page

2009-07-20 Thread brian
I've never had problems with this but there's lots of info online: http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS271&=&q=cakephp+change+password&aq=f&oq=&aqi=g2 On Mon, Jul 20, 2009 at 7:10 AM, Pascal Messana wrote: > > Hi! > >

Auth Component - Password empty - Try to make a "change password" page

2009-07-20 Thread Pascal Messana
Hi! I am trying to make a page where users can change their password. The user has to insert the actual password and the new password in form inputs, then submit the form. Then, I want to compare the submitted password and the real password (the one in the database). I try to get the real passwo

Re: change password

2008-09-04 Thread jojiju
thanks for the link. by the way I did it with reference to code. It works now. Its a simple password changing option: code is as below. controller: function changePassword($id=null) { if (empty($this->data)) { $this->data = $this->User->findById($id);

Re: change password

2008-09-03 Thread powtac
Perhaps this helps: http://groups.google.com/group/cake-php/browse_thread/thread/f3653bac41f58733/ff236e99a8313057?lnk=gst&q=change+password#ff236e99a8313057 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

change password

2008-09-03 Thread jojiju
Hi all, I want to build the change password form that has username,old password, new password and retype new password as input fields. I have a link called change password. when I click the change password link. the form should open in edit mode ie. username should be shown but it doesn&#

Re: change password

2008-05-03 Thread damo
looks good, but I get the following error on this line: '$user = $this- >User->findById($this->Auth->User('id'))' Fatal error: Call to a member function User() on a non-object in /var/ www/cake/app/controllers/users_controller.php on line 59 Also, what does the '$this->User->recursive = -1;' do?

Re: change password

2008-05-03 Thread mbavio
My two cents: Action in the controller: function changePassword() { if (!empty($this->data)) { $this->User->recursive = -1; $user = $this->User->findById($this->Auth->User('id')); if($this->Auth->password($t

change password

2008-05-02 Thread damo
Trying to write a controller to change the password. The only guide I have found to do this is at the following: http://groups.google.com/group/cake-php/browse_thread/thread/83359000910910c5/63972a85d3d5b011?lnk=gst&q=change+password&rnum=1 However this appears to be using cake 1.x (be

change password form

2007-05-09 Thread Greg Cerveny
I've been working on a form to allow users to change their passwords. For the view, since I'm asking for data that is not part of the model (newpassword, oldpassword, confirmpassword), I created an arbitrary name (change) for the form data. Question #1 Should I be naming my form variables [user]