See https://github.com/codeigniter4/CodeIgniter4/security/advisories Mandatory Config Changes New Config\AuthToken A new Config file AuthToken.php has been introduced. Run php spark shield:setup again to install it into app/Config/, or install it manually. Then change the default settings as ...
An official authentication and authorization framework CodeIgniter Shield Easy to add third party authentication A02:2021 Cryptographic Failures The first thing is to determine the protection needs of data in transit and at rest. For example, passwords, credit card numbers, health records, personal...
At first i want to create a own login view for that i've create a copy of the "loginController.php" from the "vendor/codeigniter4/shield/src/controllers/" with the dirst fnction "loginView()" (its the only part wich call the "views") all other i think i can ignore an let it a...
<?php use CodeIgniter\Publisher\Publisher; $source = service('autoloader')->getNamespace('CodeIgniter\\Shield')[0]; $publisher = new Publisher($source, APPPATH); $file = APPPATH . 'Config/App.php'; $publisher->addLineBefore( $file, ' public int $myOwnConfig = 1000;', // Add this...
References We have published some official packages. You can use these packages as references when creating your own packages: https://github.com/codeigniter4/shield https://github.com/codeigniter4/settings https://github.com/codeigniter4/tasks https://github.com/codeigniter4/cache...