Overview

Protect your Magento 2 admin panel with enterprise-grade two-factor authentication. This free extension adds an extra layer of security using Google Authenticator, significantly reducing the risk of unauthorised access and protecting your store from security breaches.

Key Features

  • Google Authenticator integration
  • QR code setup for easy configuration
  • Backup recovery codes
  • Per-user 2FA enablement
  • Login attempt logging
  • Failed attempt notifications
  • Time-based one-time passwords (TOTP)
  • Admin role-based requirements
  • Emergency bypass codes
  • Mobile-friendly authentication

Security Benefits

🛡️ Prevent Breaches

Even if passwords are compromised, attackers cannot access your admin panel without the mobile authenticator.

📱 Easy to Use

Simple setup with Google Authenticator app. Users just scan a QR code and start generating secure codes.

🔍 Audit Trail

Complete logging of authentication attempts with detailed reporting for security monitoring.

How It Works

  1. Install Extension: Simple installation process with no configuration required
  2. Enable 2FA: Admin users can enable 2FA from their account settings
  3. Scan QR Code: Use Google Authenticator to scan the setup QR code
  4. Generate Backup Codes: Save emergency recovery codes in a secure location
  5. Enhanced Login: Login requires username, password, and 6-digit authenticator code

⚠️ Security Warning

Why 2FA is Essential: Admin panel breaches can result in stolen customer data, financial losses, and regulatory fines. Two-factor authentication provides critical protection against these threats.

  • ✓ Protects against password attacks
  • ✓ Prevents unauthorised admin access
  • ✓ Complies with security best practices
  • ✓ Reduces insurance and compliance risks

Compatible Authenticator Apps

📱 Google Authenticator

iOS & Android

🔐 Authy

Cross-platform

🛡️ Microsoft Authenticator

Enterprise ready

🔑 LastPass Authenticator

Password manager integration

Installation Guide

  1. Download the extension from GitHub
  2. Upload to your Magento 2 root directory
  3. Run: php bin/magento module:enable Rathsh_TwoFactorAuth
  4. Run: php bin/magento setup:upgrade
  5. Run: php bin/magento cache:flush
  6. Enable 2FA in Admin Panel: System → Security → Two-Factor Authentication

Setup Instructions

  1. Navigate to Account Settings in admin panel
  2. Click "Enable Two-Factor Authentication"
  3. Download Google Authenticator on your mobile device
  4. Scan the QR code displayed on screen
  5. Enter the 6-digit code to verify setup
  6. Save backup recovery codes securely

System Requirements

  • Magento 2.3.0 or higher
  • PHP 7.3 or higher
  • MySQL 5.7 or higher
  • Mobile device with authenticator app
Download Free on GitHub Need Support?

You Might Also Like

📈 Customer Activity Tracker M2

Monitor user behaviour and detect suspicious activity

⚡ Smart Cache Manager M2

Secure cache management with performance optimization

Need Advanced Security Solutions?

Require custom security features, single sign-on integration, or enterprise authentication? I can build comprehensive security solutions for your business.

📧 Email Me: info@rathsh.app