alexlancer / Auto-CRUD-Generator-CodeIgniter-4-

MIT License
69 stars 36 forks source link

hashing hashes field instead of value #1

Closed Requiae closed 3 years ago

Requiae commented 4 years ago

In Crud_core.php, if field needs to be hashed the field name is hashed instead of the field value. Can be fixed by replacing $post[$hashIt] = password_hash($hashIt, PASSWORD_DEFAULT); with $post[$hashIt] = password_hash($post[$hashIt], PASSWORD_DEFAULT); on line 288

hansratzinger commented 3 years ago

Thanks Scott! Please close this issue! You can clone from my fork all known fixed issuses: https://github.com/hansratzinger/Auto-CRUD-Generator-CodeIgniter-4-.git