You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Password update

Accepted answer
38
Views
2
Comments
edited Mar 5, 2018 1:14PM in Customer Portal 2 comments

Content

Hi all,

 

 i am updating password manually as like below.

$CI = &get_instance();
         $contact = RNCPHP\Contact::fetch($CI->session->getProfileData('contactID'));
         $contact->NewPassword = $_POST['password'];
         $contact->save();

 

i am doing like this password updated successfully . But the contact is logged out. how to prevent this.

 

Regards,

Mohan

Version

3.4

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!