phpmyadmin / phpmyadmin/phpmyadmin
An invalid authentication method shows dashboard instead of login page
Nobody has claimed this yet.
- 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:
- Edit config.ini.php
$cfg['Servers'][$i]['auth_type'] = 'test'; - Go login page
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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