-
Notifications
You must be signed in to change notification settings - Fork 58
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 storage validation #53
Comments
I bet that most of the constructor to |
This was referenced Apr 18, 2016
hi |
The PR is waiting for review. Hopefully @akrabat will have time to check it soon. |
akrabat
added a commit
to akrabat/Slim-Csrf
that referenced
this issue
Dec 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to implement @akrabat's Session Middleware and Slim-Csrf middleware together, but the validation in the
__construct
is blocking me (or I don't see the correct way).I am registering both middlewares as follows:
but I always get CSRF middleware failed. Session not found. Changing the order of the registration of these middlewares is not helping either. I think the reason is that the validation for existing session is done at initialization of the Guard class and this is not giving change of the previous middleware to start the session because it's not yet invoked.
The text was updated successfully, but these errors were encountered: