rsAuth · Really Simple Authentification
Demo
This bit example for rsAuth library for CodeIgniter. Test username: "admin" and test password: "admin".
Usage
The library use Rsauth.php library and the rsauth_mng_model model for add user, delete, etc... Check the config file for default user and password, the first call to rsauth library, the rsauth database table is created automatically and inserts the default username and password if the rsauth table doesn't exist.
NOTE: this version requires MySQL database. The function _createTable in the model is only implemented in MySQL but you can feel free of implement it in other databases. The rest of the functions calls for database library of CodeIgniter for easy extension.
Example 1: Simple login controller


Write a comment