shield
shield copied to clipboard
Authentication and Authorization for CodeIgniter 4
Hi all, When we create a custom column in table `users`, for example `phone_number`. And then we set the value to ```php /** * -------------------------------------------------------------------- * Valid login fields *...
Hello friends, This PR gives command shield:setup the ability to automatically implement the security proposal issued in [SecurityAdvisories](https://github.com/codeigniter4/shield/security/advisories/GHSA-5hm8-vh6r-2cjq).
Fixes https://github.com/codeigniter4/shield/discussions/381 `redirect()->withInput()` or `withErrors()` saves validation errors in the Session. And the check of the validation errors in Model (`checkQueryReturn()`), `$this->validation->getErrors()` returns the errors in the Session. **How to...
When using `nexusphp/cs-config`, the `--using-cache` is default `true` if not provided. https://github.com/NexusPHP/cs-config/blob/e9092a9ab3a59c982bf0c79c89df36a7b2c0b86e/src/Factory.php#L122
I suggest to add a link back to the login page on the Magic Link form. What do you think ? 
- [x] add filter group - [x] add filter permission - [x] update languages - [ ] add tests (I don't have testing experience) - [ ] add docs
### PHP Version 8.0.21 ### CodeIgniter4 Version 4.2.3 ### Shield Version 1.0.0-beta.2 ### Which operating systems have you tested for this bug? macOS ### Which server did you use? cli-server...
~~Needs to rebase after merging #194, #199~~ - add `Authenticators\JWT` - add `Filters\JWTAuth` TODO: - [ ] login recording specification - [ ] update docs
Probably now Shield works with only ~~MySQL or~~ SQLite3. - [x] MySQL #336 - [x] Postgre #339 - [x] SQLSRV - [ ] OCI8