I migrated our production database to the development environment, i’ve changed the base_url’s and any references to the production site.
The front-end works just fine, no issues. But when i try to log into the backend as admin the page just refreshes, no errors are shown.
I also tried to enter an incorrect user/password combination, but the page still refreshes without any error messages.
When i enter nothing into the admin login form and click on ‘login’, the same thing happens.. no error, just a page refresh
The console is empty, there are no errors shown, and the admin url stays the same, normally there would be a key in the URL but even this doesn’t show
I’ve been looking into this issue for 2 days now, i’ve tried all possible solutions i found on the internet but the problem still exists; here’s what i tried so far:
- Check secure/unsecure base URL’s. These are set correctly (https://sub.exampledomain.com/)
- Check cookie settings, cookie restriction mode isn’t enabled so all the fields here are either NULL or empty
- Ran setup:db:upgrade, compilation and deploy of static files multiple times
- Check DB for M1 migration admin_url/path fields
- Switched from production deploy mode to dev deploy mode and vice-versa
- Disable 3rd party plugins
- Create user w magerun2
- Change user password w magerun2
- system.log/exception.log/reports are showing no errors
- Check any references to production site in DB
- Checked in multiple browsers/private windows
- remove static/cache files
Additional info:
sessions are saved in redis, i’ve set a unique db in env.php