Skip to content

Let switch_user dispatch security.interactive_login #14874

@rvanlaak

Description

@rvanlaak

We make use of the sticky locale to set a User's locale in the session.

When a switch_user event is triggered, the session locale obviously stays the same. This would be solved if the security.interactive_login events are dispatched after/during a switch_user event and a after a _switch_user _exit event.

Will there be a way to trigger these events myself right after those switch_user events? Does the Firewall trigger any events during the impersionation actions? They aren't in the Cookbook.

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