What is wrong with this password update process? |
I am working on a basic blog application in Codeigniter 3.1.8 and Bootstrap 4.
I have added a registration and login system to this application. I am current working on a password reset system. For a reason I have not been able to figure out, the password update process is flawed. I don't know if the issue is with the controller or the model. In the controller I have: PHP Code: class Newpassword extends CI_Controller { In the model: PHP Code: public function set_new_password($token, $enc_password) { The form that is used to set the new password: PHP Code: <?php echo form_open(base_url('newpassword/add')); ?> Where is my mistake? PHP Code: class Newpassword extends CI_Controller { You pass it to a method, but it's empty. PHP Code: // add() PHP Code: <?php echo form_open(base_url('newpassword/add')); ?> |
Welcome Guest, Not a member yet? Register Sign In |