vaimo / module-admin-auto-login
vaimo/module-admin-auto-login
Provides automatic admin login on Magento projects; Useful addition when working with a project locally (should be used only as require-dev)
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.
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
Unreleased
[1.4.5] - 2022-06-02
Fixed
- Fix Magento Framework version requirements in composer.json to make module possibly to require with M2.4.x
[1.4.4] - 2022-05-06
Added
- Disable password changing request if module is active
- Handle "There are no admin users to attempt login to." error more gracefully
[1.4.3] - 2022-05-03
Added
- Support for Magento 2.4.x
[1.4.2] - 2019-03-28
Fixed
- Allow the module to be installed on 2.3 (https://github.com/vaimo/module-admin-auto-login/issues/4)
[1.4.1] - 2018-07-24
Fixed
- Keep URL parameters on redirect (by @roman-snitko)
[1.4.0] - 2017-11-09
Added
- Support for Magento 2.2
[1.3.0] - 2017-05-08
Added
- Public release
- Changelog
- Do not redirect back to dashboard after session expiration
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.4.5 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2022-06-02 11:55:10 |
| 1.4.4 | stable | Not tested | Not yet tested Details | 2022-05-06 12:14:42 |
| 1.4.3 | stable | Not tested | Not yet tested Details | 2022-05-03 07:23:28 |
| 1.4.2 | stable | Not tested | Not yet tested Details | 2019-03-28 13:11:48 |
| 1.4.1 | stable | Not tested | Not yet tested Details | 2018-07-24 09:51:03 |
| 1.4.0 | stable | Not tested | Not yet tested Details | 2017-11-09 10:13:01 |
| 1.3.0 | stable | Not tested | Not yet tested Details | 2017-05-08 12:29:19 |
Requires 1
| Package | Constraint |
|---|---|
| magento/framework | 100.* | 101.* | 102.* | 103.* |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from Vaimo
View vendorKustom Express Checkout Magento 2 Extension
Kustom Interoperability Magento 2 Extension
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.