![]() |
$this->request->getVar('account_id') NULL for no reason - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: $this->request->getVar('account_id') NULL for no reason (/showthread.php?tid=84184) |
$this->request->getVar('account_id') NULL for no reason - encodedigital - 10-19-2022 Hi All, I have created filter to check JWT token and then I am adding values to request, so that I can use in Controller. It is absolutely working fine on 5 routes, but somehow getVar is giving null value for another function in controller. Code: public function verifyAccountCode() Filter: Code: $model = new AccountsModel(); Code: $routes->post('/resend-verification-code', 'AccountVerification::sendVerificationCode', ['filter' => 'auth_acc_inactive']); |