Skip to content

seems to occur with 12.34: 419 page expired when logging in a different auth guardΒ #57409

@ghbob

Description

@ghbob

Laravel Version

12.34

PHP Version

8.4

Database Driver & Version

No response

Description

We work with auth guards quite a bit, so let's say "admin" and "user".
I am logged in as admin and then log in as user, the admin every quickly gets a 419 page expired.

First it's the browser dialog:

This page has expired. Would you like to refresh the page?

When I click the ok the Laravel error page shows: 419 page expired.
When I then refresh it's fine again, still logged in.

Rolled back to 12.33 where it doesn't occur so it seems to be a 12.34 change.

Only session related changelog entry was: #57204

@valorin any chance this could cause this?

Thanks!

Steps To Reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions