Comments (7)
FYI inclusion of
$this->loadComponent('Cookie'); // to support old CakeDC/Auth
in controller initialize will handle this.
However, this cookie component has been deprecated since 3.5.0, so fix should go to new cookies and dependency noted.
from auth.
thank you for reporting it, we noticed it too and a fix is on its way...
from auth.
FYI inclusion of
$this->loadComponent('Cookie'); // to support old CakeDC/Auth
in controller initialize will handle this.However, this cookie component has been deprecated since 3.5.0, so fix should go to new cookies and dependency noted.
Thanks for that, fixed an issue i had with cake 3.6 and cakedc/users": "^6.0.1
from auth.
I could reproduce the error in a fresh install of cake.
- install a fresh cake. (3.6.12)
- install cakedc/users
- load plugin and migrations
- try to open my_app.dev/users/users
Apparently, cakephp 3.6.12 is throwing notices for undefined properties.
from auth.
We actually require 3.6
https://github.com/CakeDC/auth/blob/master/composer.json#L29
so the fix should not break existing code... are you experiencing issues after the fix?
Thanks,
from auth.
Yes thanks 3.0.1 fixed!
Although if requiring 3.6, why not go the
... $cookie = $request->getCookie($cookieName); ...
route?
from auth.
yes, that could be an improvement, keep in mind we have a refactor in progress to use the new cakephp/authentication plugin and some other improvements, so it'll make sense to wait until we manage to merge it.
Thanks,
from auth.
Related Issues (20)
- RFC: Don't wrap developer centric messages in translation function HOT 1
- RFC - Convert SimpleRbacAuthorize into a standalone class. HOT 2
- Accessing pages / controllers without authorization HOT 1
- How do I add permissions from another plugin? HOT 5
- Fix legacy key detection to load permissions coming from old version HOT 1
- Permissions with empty value are ignored HOT 3
- Upgrade to 3.6
- Assigning multiple Roles to one user HOT 1
- Invalidate Remember Me Auths HOT 1
- How can a user enter a site by a token? api key authorization? cakedc HOT 1
- is_callable() invoked on system functions HOT 1
- get api key on form authentication HOT 1
- allow OPTIONS request without ApiKey HOT 13
- Switch to github actions
- Call to undefined method ArrayObject::toArray() HOT 2
- Error after update from 6.1.0 to 6.2.0 HOT 1
- Zend\Diactoros\Uri not found in IsAuthorizedTrait.php HOT 4
- Provide replacement to LinkedIn OAuth 2 provider, using their current integration via OpenID-Connect HOT 1
- rbac HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth.