phpmyadmin / phpmyadmin/phpmyadmin

An invalid authentication method shows dashboard instead of login page

Open
#18,415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects/5.2 affects/6.0 Bug confirmed/5.2 confirmed/6.0
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Describe the bug

An invalid authentication method shows dashboard, instead of the login page, as it does in 6.0.0-dev.

To Reproduce

Steps to reproduce the behavior:

  1. Edit config.ini.php $cfg['Servers'][$i]['auth_type'] = 'test';
  2. Go login page
  3. See error
Expected behavior

The login page should be displayed, like it does in 6.0.0-dev.

Screenshots

https://github.com/phpmyadmin/phpmyadmin/assets/25424343/d0cc5098-a816-4411-bf6c-d0df59e7e8f4

Server configuration
  • phpMyAdmin version: 5.2.2-dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with config.ini.php and auth_type set to 'test', then trace the authentication flow that chooses between the dashboard and login page. Compare the result with 6.0.0-dev and verify that an invalid authentication method displays the login page as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.