Droid Login
Passwordless sign-in and registration for visitors: a one-time code or link from an e-mail instead of a password. The site team keeps its password.
Visitors enter their e-mail address and sign in with a six-digit code or a link from the e-mail. An address without an account gets one after the code is verified, so every account has a verified address. Made for forums (bbPress), member sections and comments.
Modes
- No change – WordPress signs in as before (also a quick switch-off without deactivating the plugin). The plugin runs in this mode until the setup wizard is finished.
- Without a password (default) – e-mail code or link. Passwords stay stored, they are just not used.
- Both – the e-mail code plus "Log in with a password" below it.
Security
- Codes come from the CSPRNG, links carry 32 random bytes; only keyed hashes are stored. A code is valid for 10 minutes, once, and only in the browser that asked for it. A new request of the same browser replaces its code; requests from elsewhere never cancel it.
- The link of the e-mail opens a page with a "Sign in" button (mail scanners cannot use it up) and signs in the browser where it is opened. The window where the person started is never signed in by a click elsewhere.
- The same answer for every address: existing, unknown, administrator. Mails are sent right away.
- Limits per device and address, per address for unknown devices together, a separate quota for known devices (a stranger cannot block the owner), per IP address, new accounts per IP, attempts per code, the resend wait. Trusted proxies and Cloudflare are supported; when the address cannot be trusted, the limits by IP are not applied.
- Administrators and other roles with access to the administration never sign in with a code. They use the password at wp-login.php in every mode. Emergency switch:
define( 'DROID_LOGIN_DISABLE', true );in wp-config.php. - Cloudflare Turnstile (optional), a honeypot and a time check. Suspicion never rejects silently: it switches to a visible challenge. When Turnstile is down, signing in goes on in a fallback mode with a stricter limit.
- Unique display names compared without case, accents and look-alike characters; names of the site, its team and words like admin or support are reserved.
- The e-mail address of an account changes only with a fresh code, a code of the new address and a notice to the old one with a "That was not me" link (7 days) that reverts the change and signs out every device.
Integration
- Block "Sign-in" and shortcode
[droid_login heading="" intro="" redirect=""]. The form takes fonts and colours from the theme; CSS variables (--droid-login-radius,--droid-login-error, …) override them. - Optional redirect of the sign-in and registration of wp-login.php to the form page. Logout, lost password, password-protected posts and confirmation links stay untouched.
- bbPress: its sign-in, registration and lost password forms (templates, shortcodes, the login widget) are replaced by a link to the form; after signing in the visitor returns to the topic.
- The form talks to the REST API and switches to admin-ajax.php by itself where REST is blocked for visitors. No jQuery, works on cached pages (no nonce in the page).
- Multisite with network activation: tables and settings for every site, also for new ones.
- Export and erasure of personal data, a suggested text for the privacy policy.
For developers
- Actions:
droid_login_before_send_code($email, $user_id, $path),droid_login_logged_in($user_id),droid_login_user_registered($user_id, $email). - Filters:
droid_login_texts,droid_login_limits,droid_login_code_ttl,droid_login_excluded_roles,droid_login_reserved_names,droid_login_disposable_domains,droid_login_captcha_providers(other bot checks),droid_login_turnstile_hostnames(more host names where the Turnstile widget may be solved),droid_login_modules(extensions),droid_login_mail_plugin_active.
External services
- Cloudflare Turnstile (only when you fill in its keys): the browser loads the widget from
challenges.cloudflare.com, which processes technical data of the browser and the IP address to tell people from robots; the site sends the token of the widget and the visitor's IP address tohttps://challenges.cloudflare.com/turnstile/v0/siteverify. Terms, privacy policy. - Licence and updates (wpdroid.cz): the licence key is checked at https://wpdroid.cz/api/v1 when you activate or deactivate it and once a day afterwards; the request carries the licence key, the product, the plugin version, the PHP version and the site domain. WordPress asks https://wpdroid.cz/api/v1/update/droid-login for new versions about twice a day. No content of the site and nothing about visitors is sent, and nothing is sent while people sign in. The service is provided by wpDroid.cz.
The list of disposable e-mail domains comes from disposable-email-domains (CC0) and is bundled; it is not downloaded at run time.
Screenshots
What you get
- Droid Login plugin to download from your customer account
- Licence key for one site (Agency licence: five sites)
- Updates right in the WordPress admin while the licence is valid
- E-mail support while the licence is valid
Installation
- Download Droid Login from wpdroid.cz, upload the zip in Plugins → Add New Plugin → Upload Plugin and activate it (network-activate on a multisite).
- Open wpDroid.cz → Přihlášení and go through the wizard: mode, page with the form, Turnstile keys, IP address of visitors, test e-mail.
- Enter the licence key at the bottom of the same screen (updates and support).
Common questions
- Does logging in depend on the licence?
No. It works the same with an expired licence or when the licence server is down. The licence affects only updates and support, and nothing is sent to wpdroid.cz when users log in.
- How does an administrator log in?
With a password at
wp-login.php?droid_login=password, in all modes. Administrators, editors, authors and anyone else with access to the admin cannot log in with a code. If even that does not work, adddefine( 'DROID_LOGIN_DISABLE', true );to wp-config.php.- Codes are not arriving. What can I do?
The plugin sends e-mails via
wp_mail(), like the rest of WordPress. Use an SMTP plugin with SPF and DKIM for your domain and send yourself a test e-mail from the E-mails tab.- Do I need Cloudflare Turnstile?
No, but we recommend it. Without it, the form is protected by a honeypot, a time trap and rate limits. Turnstile is free and usually shows visitors nothing.
- What if Turnstile goes down?
Logging in keeps working in a fallback mode with stricter limits, and this is visible in the log.
- Does it work with caching?
Yes. The page with the form contains nothing personal and no nonce, so the cache can store it.
- Can I go back to passwords?
Yes. The “No change” mode returns the site to its original state; passwords are never deleted. The “Both” mode offers both a code and a password.
- Does it work with bbPress?
Yes. The forum's login and registration forms are replaced with a link to the form, and after logging in the visitor returns to the thread they came from.
- What data does the plugin send?
To wpdroid.cz, only the details needed to verify the licence (key, product, plugin and PHP version, site domain) and an update check. With Turnstile, the site verifies the widget token and the visitor's IP address with Cloudflare. No site content or visitor data goes anywhere else.
- Can I move the licence to another site?
Yes. Deactivate the domain in the customer portal and use the freed slot elsewhere.
- What happens if I do not renew?
Your site keeps running and the plugin stays installed and working. After a 14-day grace period, updates and support stop. The exception are add-ons where the licence unlocks Pro features (Droid ČNB Pro, Droid MCP Bridge Pro): there those features switch off after the grace period too. Renewing switches everything back on and the key stays the same.
- Can I get a refund?
You may withdraw within 14 days of the purchase until you ask in the customer portal for the licence key and the downloads to be released — that ends the right of withdrawal. If the product does not work as described, get in touch — that is a defect and it gets fixed.
- Will I get a tax document?
Yes, sent to the e-mail on the order. Businesses from another EU country with a valid VAT ID buy under the reverse charge mechanism.