Skip to content

[5.x]: Requests to admin/login when logged in, no longer redirect to CP #15168

@engram-design

Description

@engram-design

What happened?

Description

Looks like a change in behaviour compared to Craft 4. If you're logged in, head to /admin/login and you'll be shown the login screen despite being logged in. In Craft 4, you were redirected to the Dashboard.

Related to verbb/social-login#28

Craft CMS version

5.1.9

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions