CodeIgniter Forums
Change Password in CodeIgniter with Callback Validation to Check Old Password - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Change Password in CodeIgniter with Callback Validation to Check Old Password (/showthread.php?tid=80091)



Change Password in CodeIgniter with Callback Validation to Check Old Password - Tajar_Dobro - 09-14-2021

Hi all
is there any tutorial for Change password in CodeIgniter with Callback Validation to Check Old password?


RE: Change Password in CodeIgniter with Callback Validation to Check Old Password - InsiteFX - 09-14-2021

You can download Myth/Auth and see how Lonnie is doing it.

Myth/Auth


RE: Change Password in CodeIgniter with Callback Validation to Check Old Password - superior - 09-14-2021

Depends what version/package you are using, but you could write a custom validation for that.

Version 3: http://codeigniter.com/userguide3/libraries/form_validation.html
Version 4: https://codeigniter4.github.io/userguide/libraries/validation.html


RE: Change Password in CodeIgniter with Callback Validation to Check Old Password - Tajar_Dobro - 09-14-2021

(09-14-2021, 02:09 AM)InsiteFX Wrote: You can download Myth/Auth and see how Lonnie is doing it.

Myth/Auth
Thank you Smile
can I use it with CI 3.1?


RE: Change Password in CodeIgniter with Callback Validation to Check Old Password - kenjis - 09-14-2021

See https://github.com/lonnieezell/myth-auth#requirements
CodeIgniter 4.0.4+


RE: Change Password in CodeIgniter with Callback Validation to Check Old Password - InsiteFX - 09-15-2021

For CodeIgniter 3 most users use Ion Auth.

CodeIgniter - Ion Auth 3

Try that.