/module-admin-auto-login

Primary LanguagePHPApache License 2.0Apache-2.0

vaimo/module-admin-auto-login

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).

Installation

composer require --dev vaimo/module-admin-auto-login
php bin/magento module:enable Vaimo_AdminAutoLogin
php bin/magento setup:upgrade

Usage

Access the admin URL for the project. You should be logged in automatically.

Configuration

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

Support will be provided on a best efforts basis through GitHub Issues. Pull requests are welcome.