Admin Magic Login

Description
Admin Magic Login adds an email magic link as a second factor for protected WordPress role logins. The password stays the first factor. After a correct password, a protected user (Administrator by default) must open a single-use, time-limited link and confirm the login in the browser before a session is created.
Who it is for
Site owners who want a stronger login for wp-admin without replacing WordPress passwords, and without sending users through an authenticator app. The second factor is the inbox they already have.
Features
- Password remains the first factor. The magic link is the second.
- Choose which roles are protected. Administrator is protected by default.
- Single-use, expiring links. Only an HMAC-SHA256 hash is stored. Raw tokens and passwords are never stored or logged.
- Browser confirmation before sign-in, so email security scanners cannot use up the link or create a session.
- Check-your-email screen with a masked address and a resend control.
- Optional trusted browsers that skip the email for 0–90 days (default 30), with revoke-all in settings.
- Rate limits for login floods, token attempts, and resends.
- Settings dashboard with protection status, pending logins, and a bounded activity log.
- Magic-link email in HTML and plain text, with hooks for your own branding.
- Login screens and emails follow the user’s WordPress language. Spanish, French, German, Brazilian Portuguese, Nepali, Hindi, and Arabic are included. Arabic is right-to-left.
- Failed email delivery does not leave the user stuck on the check-email screen.
- Custom updates from the author’s update server.
- Uninstall removes plugin options, pending logins, the activity log, and the cleanup schedule.
How login works
- The user enters a username or email and a password on wp-login.php.
- WordPress checks the password.
- Unprotected roles sign in as usual.
- A protected role with a trusted browser can skip the email until that trust expires.
- Otherwise the site emails a secure link and shows a check-your-email screen. No session exists yet.
- Opening the link shows a confirmation page. The link is used only when the user presses Confirm login.
- The user is signed in and sent to wp-admin. They can trust that browser for later visits.
Requirements
- WordPress 6.0 or newer (tested up to 7.1)
- PHP 8.1 or newer
- Working site email (wp_mail). An SMTP plugin is recommended in production.
Installation
- Upload the plugin ZIP in Plugins, Add New, Upload Plugin, then activate Admin Magic Login.
- Open Settings, Admin Magic Login.
- Review protected roles, link expiration, and trusted-browser days, then save.
- Send the test email and confirm the message arrives.
Good to know
- This does not replace passwords.
- By default it only affects interactive password logins on wp-login.php. REST, XML-RPC, WP-CLI, and cron are not intercepted.
- Front-end, WooCommerce, and AJAX login forms are outside that default scope.
- Other 2FA, CAPTCHA, or SSO plugins on the same login form should be tested before you rely on both together.
- Multisite membership checks exist in the code and are not fully tested on a network install.
- License: GPL-2.0-or-later.
Features
Password plus email magic-link second factor for protected WordPress roles
Role picker, default Administrator
Single-use expiring links stored only as HMAC-SHA256 hashes
Browser confirmation so email scanners cannot consume the link
Check-email screen with masked address and resend
Trusted browsers for 0–90 days, with revoke-all
Rate limits on floods, token attempts, and resends
Protection dashboard and activity log (passwords and tokens are never logged)
HTML and plain-text magic-link email
Spanish, French, German, Brazilian Portuguese, Nepali, Hindi, and Arabic
Test email, custom subject, and uninstall cleanup
Requirements
WordPress 6.0 or newer, PHP 8.1 or newer, and working site email through wp_mail. An SMTP plugin is recommended for production.
Instructions
Upload the plugin ZIP through Plugins > Add New > Upload Plugin and activate Admin Magic Login. Open Settings > Admin Magic Login, review the protected roles and expiry settings, then save. Send the test email and confirm delivery. Read the included README for configuration and compatibility guidance.
| Author | prashantrijal |
|---|---|
| Category | Plugins / WordPress / Security |
| Price | $10 |
| Extended License | $30 |
| First Release | Oct 6, 2026 |
| Last Update | Oct 6, 2026 |
| Supported cms | WordPress 6.0, WordPress 6.1, WordPress 6.2, WordPress 6.3, WordPress 6.4, WordPress 6.5, WordPress 6.6, WordPress 6.7, WordPress 6.8, WordPress 6.9, WordPress 7.0, WordPress 7.1 |
| Files included | .php, .css, .md, JavaScript .js |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 3,957 views · 16 clicksOther · Week 47 · 3,957 views · 16 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 4,075 views · 18 clicksSaaS · Week 47 · 4,075 views · 18 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 11,557 views · 80 clicksSaaS · Week 47 · 11,557 views · 80 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 3,936 views · 7 clicksSaaS · Week 47 · 3,936 views · 7 clicks