Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: get_cookie() does not take Config\Cookie::$prefix #6079

Closed
kenjis opened this issue Jun 6, 2022 · 0 comments · Fixed by #6080
Closed

Bug: get_cookie() does not take Config\Cookie::$prefix #6079

kenjis opened this issue Jun 6, 2022 · 0 comments · Fixed by #6080
Assignees
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@kenjis
Copy link
Member

kenjis commented Jun 6, 2022

Config\App::$cookiePrefix is deprecated.

$prefix = isset($_COOKIE[$index]) ? '' : config(App::class)->cookiePrefix;

@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Jun 6, 2022
@kenjis kenjis self-assigned this Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant