Skip to content

Login flow consistency: Do not use redirect in admin area login box - #4865

Merged
CaMer0n merged 1 commit into
e107inc:masterfrom
Deltik:fix/4779
Sep 29, 2022
Merged

Login flow consistency: Do not use redirect in admin area login box#4865
CaMer0n merged 1 commit into
e107inc:masterfrom
Deltik:fix/4779

Conversation

@Deltik

@Deltik Deltik commented Sep 7, 2022

Copy link
Copy Markdown
Member

Fixes: #4779

Motivation and Context

The non-admin login flow does not perform a redirect, but the admin login flow did. This led to an inconsistency in how the authentication error message was passed.

Description

The login failure redirect on the admin area login page (/e107_admin/admin.php) has been removed.

How Has This Been Tested?

\AdminLoginCest::testAdminFailedLogin() now checks that the login failure message is displayed in the admin area login page on failed login.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist

The non-admin login flow does not perform a redirect, but the admin
login flow did. This led to an inconsistency in how the authentication
error message was passed.

Fixes: e107inc#4779
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 00b1d75 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 25.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 34.4% (0.1% change).

View more on Code Climate.

@CaMer0n
CaMer0n merged commit 43153ab into e107inc:master Sep 29, 2022
@CaMer0n

CaMer0n commented Sep 29, 2022

Copy link
Copy Markdown
Member

Thank you! 👍

@Deltik
Deltik deleted the fix/4779 branch December 15, 2022 04:54
Deltik pushed a commit that referenced this pull request Jul 26, 2026
Fixes: #4779 Login flow consistency: Do not use redirect in admin area login box
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

Successfully merging this pull request may close these issues.

No warning / alert with wrong login...

2 participants