You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update AbstractIdentifier::CREDENTIAL_* to PasswordIdentifier::CREDENTIAL_*
- Add missing return types to code examples (initialize(), _setPassword())
- Fix broken tutorial link to use absolute CakePHP Book URL
- Replace deprecated strpos() with str_starts_with()
- Update API link from CakePHP 4.0 to 5
- Remove misleading identifier config from Session authenticator examples
- Remove outdated "Added in version 2.10.0" notes
- Add missing use statement for JWT in JwksController example
- Fix typo in jwt.pem path (./jwt.pem -> /jwt.pem)
- Use strict comparison (===) instead of loose (==)
- Add missing MiddlewareQueue type hints in migration guide
- Remove unused ResponseInterface import
- Add missing documentation links in contents.md (redirect-validation, upgrade-3-to-4)
Once you have the middleware applied to your application you'll need a way for
159
-
users to login. Please ensure your database has been created with the Users table structure used in [tutorial](tutorials-and-examples/cms/database). First generate a Users model and controller with bake:
159
+
users to login. Please ensure your database has been created with the Users table structure used in the [CMS tutorial](https://book.cakephp.org/5/en/tutorials-and-examples/cms/database.html). First generate a Users model and controller with bake:
160
160
161
161
```bash
162
162
bin/cake bake model Users
@@ -240,9 +240,10 @@ class User extends Entity
240
240
// ... other methods
241
241
242
242
// Automatically hash passwords when they are changed.
243
-
protected function _setPassword(string $password)
243
+
protected function _setPassword(string $password): string
0 commit comments