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

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

Closed
engram-design opened this issue Jun 8, 2024 · 1 comment
Closed
Labels

Comments

@engram-design
Copy link
Contributor

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

brandonkelly added a commit that referenced this issue Jun 8, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! I removed the code to handle that case in #13000 for some reason, but the commit doesn’t exactly say why.

Just released 5.2.0-beta.5 with that logic returned.

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

No branches or pull requests

2 participants