Type
magento2-module
Provides automatic admin login on Magento projects; Useful addition when working with a project locally (should be used only as require-dev)
magento2-module
Apache-2.0
None
None
None
None
None
This module bypasses the admin panel login screen, automatically logging in as the user provided in the configuration. Since it doesn't run any validations, this module should be used only on local environments (i.e.: not public).
composer require --dev vaimo/module-admin-auto-login
php bin/magento module:enable Vaimo_AdminAutoLogin
php bin/magento setup:upgrade
Access the admin URL for the project. You should be logged in automatically.
You can change the user to login in Stores
> Settings
> Configuration
>
Advanced
> Admin
> Admin Auto Login
.
If no username is assigned in the admin pages, it will fallback to jambi
or
admin
(in that order). If none of those are available, it will fallback to the
first user it finds.
Support will be provided on a best efforts basis through GitHub Issues. Pull requests are welcome.