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

Error since recent update #23

Closed
richlove1 opened this issue Mar 17, 2013 · 6 comments
Closed

Error since recent update #23

richlove1 opened this issue Mar 17, 2013 · 6 comments

Comments

@richlove1
Copy link

[2013-03-17 22:45:28] log.ERROR: exception 'Illuminate\Session\TokenMismatchException' in /Web/tgc/app/filters.php:65
Stack trace:
#0 [internal function]: {closure}(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

Any ideas? :/ I'm a bit stumped, think it might relate to 3a39c60

@richlove1
Copy link
Author

This could be a config thing, so apologies if it is

@andrew13
Copy link
Collaborator

Taking a look now.

@richlove1
Copy link
Author

Basically happens on form submission with input token not matching session token

@andrew13
Copy link
Collaborator

Thanks for the report rich!

@andrew13
Copy link
Collaborator

I needed to update config/session.php


    /*
    |--------------------------------------------------------------------------
    | Session Payload Cookie Name
    |--------------------------------------------------------------------------
    |
    | When using the "cookie" session driver, you may configure the name of
    | the cookie used as the session "payload". This cookie actually has
    | the encrypted session data stored within it for the application.
    |
    */

    'payload' => 'laravel_payload',

andrew13 added a commit that referenced this issue Mar 18, 2013
@richlove1
Copy link
Author

Coool, thanks B-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants