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

Session not working with database handler #952

Closed
lcharette opened this issue Mar 30, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@lcharette
Copy link
Member

commented Mar 30, 2019

No entry is done in the sessions db table at any point, which should be populated as long as anonymous user gets to the site (for alert management).

Message when login :

{
    "message": "The CSRF code was invalid or not provided.",
    "exception": [
        {
            "type": "UserFrosting\\Support\\Exception\\BadRequestException",
            "code": 0,
            "message": "The CSRF code was invalid or not provided.",
            "file": "\/home\/vagrant\/UserFrosting\/app\/sprinkles\/core\/src\/Csrf\/SlimCsrfProvider.php",
            "line": 43
        }
    ]
}

@lcharette lcharette added this to the 4.2.x milestone Mar 30, 2019

@lcharette lcharette self-assigned this Mar 30, 2019

lcharette added a commit that referenced this issue Mar 30, 2019

@lcharette lcharette pinned this issue Apr 1, 2019

@lcharette lcharette unpinned this issue Apr 2, 2019

@lcharette lcharette closed this Apr 15, 2019

@lcharette lcharette reopened this Apr 15, 2019

@lcharette lcharette modified the milestones: 4.2.x, 4.2.1 Apr 15, 2019

lcharette added a commit that referenced this issue Apr 16, 2019

Fix #952 - Session not working with database handler
* Added test for Issue #952
* Providing temps class to fix Laravel version
* Update Changelog
* Update userfrosting/session version
@lcharette

This comment has been minimized.

Copy link
Member Author

commented Apr 16, 2019

Fixed with PR #967

@lcharette lcharette closed this Apr 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.