Giter Site home page Giter Site logo

Comments (7)

thumbtech avatar thumbtech commented on June 11, 2024 2

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.

steinkel avatar steinkel commented on June 11, 2024 1

thank you for reporting it, we noticed it too and a fix is on its way...

from auth.

gerrymcdonnell avatar gerrymcdonnell commented on June 11, 2024 1

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.

viniciusbig avatar viniciusbig commented on June 11, 2024

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.

steinkel avatar steinkel commented on June 11, 2024

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.

thumbtech avatar thumbtech commented on June 11, 2024

Yes thanks 3.0.1 fixed!

Although if requiring 3.6, why not go the
... $cookie = $request->getCookie($cookieName); ...
route?

from auth.

steinkel avatar steinkel commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.