跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Mrsea Login

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Mrsea Login

作者:mrsea
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Mrsea Login brings a green-and-ivory design to the WordPress login page and lets site administrators choose a custom login URL. Users can add an extra verification step with a time-based authenticator app.

Login design

  • Responsive desktop and mobile layouts.
  • Readable form guidance, keyboard focus styles and password visibility control.
  • Headings for login, registration and password-reset screens.
  • Uses your existing site title. No remote fonts are loaded.

Custom login URL

  • Choose your login slug under Settings > Mrsea Login.
  • Redirect visitors away from the default login routes.
  • Preserve normal password reset and registration routes through the custom URL.
  • Changing the URL reduces exposure of the default route; it is not a replacement for authentication or other site security.

Optional two-factor authentication

  • Compatible with Google Authenticator and standard TOTP apps using SHA-1, six digits and 30-second intervals.
  • Scan a locally generated QR code or enter the setup key manually.
  • Verify a code before protection is enabled for the account.
  • Ten one-use recovery codes, with password-and-code verification to regenerate them.
  • Encrypted authenticator secrets and hashed recovery codes.
  • Retry limits and protections against reusing an accepted code.
  • Existing enrollments and recovery codes are retained when updating from version 1.2.0.

Two-factor protection is optional and configured per account. Installing the plugin alone does not enable it for all users. HTTPS and PHP OpenSSL with AES-256-GCM support are required for enrollment.

Privacy and external services

Mrsea Login does not use a Google API, send setup secrets to a QR service, or load a remote QR library. The QR code is rendered in the user’s browser using bundled JavaScript. The plugin adds no analytics or telemetry.

The plugin stores the login/redirect slugs in options and the encrypted authenticator secret, last accepted time step and hashed recovery codes in user metadata. Pending setup data expires after ten minutes. Retry counters expire after five minutes. Short-lived database lock rows serialize security changes and are removed after use; abandoned locks can be recovered after sixty seconds.

Deactivation stops Mrsea Login’s protections. Uninstalling does not automatically erase enrollment data or settings; this supports reinstallation without silently removing saved security configuration. A verified site administrator can remove an account’s _mrsea_login_two_factor user-meta entry when intentionally resetting its enrollment. Do not remove another user’s security settings without identity verification.

Compatibility and security boundaries

  • Back up the site and bookmark the custom URL before enabling or changing settings.
  • Enabling 2FA signs out the user’s other browser sessions.
  • Application passwords, including existing ones, are unavailable for enrolled accounts while 2FA is on. Review integrations before enabling. Disabling 2FA makes those application passwords available again.
  • Other forms using wp_authenticate/wp_signon must provide the mrsea_login_otp field for enrolled users. Password-only attempts fail.
  • SSO or membership plugins that issue login cookies without WordPress authentication filters are outside this enforcement. Test compatibility first.
  • Keep server and phone clocks synchronized. Accepted clock skew is one 30-second step in either direction. A used code cannot be reused, including the enrollment code.
  • WordPress authentication salts are used for secret encryption. Back up wp-config.php securely. Changing salts requires authenticator re-enrollment; saved recovery codes still work.
  • Password resets do not remove 2FA. Logged-in sessions do not request a new code on every page load.
  • This plugin is not a firewall, malware scanner or guarantee against account compromise.

Google Authenticator is a trademark of Google LLC. Mrsea Login is an independent plugin and is not affiliated with or endorsed by Google or WordPress.

Moving from the previous plugin name

Mrsea Login is the renamed continuation of the earlier 1.3.x plugin.
Back up your site and keep an administrator session open. Install Mrsea Login,
then deactivate the old plugin and activate Mrsea Login. Do not run both.
Version 1.4.1 moves custom options and user metadata to the unique mrsea_login
prefix. Existing login slugs, encrypted secrets and recovery codes are imported
from the privately distributed predecessor when first needed.
Do not change WordPress salts during migration. Test in a private window.
If the previous plugin is still active, Mrsea Login pauses instead of running
its login hooks. A warning appears in the dashboard.

Credits

Mrsea Login by Seyi Aluko, licensed under GPLv2 or later.
Bundled qrcode-generator 2.0.4 by Kazuhiko Arase, MIT licensed.
Source: https://github.com/kazuhikoarase/qrcode-generator
The bundled js/qrcode.js is readable source; no build step is required.
Its license is included in js/LICENSE-qrcode.txt.

屏幕截图

Desktop login page with the responsive design and authenticator/recovery-code field.
Desktop login page with the responsive design and authenticator/recovery-code field.
Mobile login page with readable guidance and stacked layout.
Mobile login page with readable guidance and stacked layout.
Custom login URL and blocked-login redirect settings.
Custom login URL and blocked-login redirect settings.
QR-code and manual-key authenticator setup. The displayed QR/key belongs to a disposable demonstration account; never use it for your account.
QR-code and manual-key authenticator setup. The displayed QR/key belongs to a disposable demonstration account; never use it for your account.

安装

  1. Upload the installable plugin ZIP through Plugins > Add New > Upload Plugin, or copy the mrsea-login directory into wp-content/plugins.
  2. Activate Mrsea Login. When moving from the previous plugin name, follow the migration section below: deactivate the old plugin first. For later updates to Mrsea Login itself, choose Replace current with uploaded.
  3. Visit Settings > Mrsea Login. The default slug is login. Bookmark the displayed login URL before changing it.
  4. For 2FA, choose Set up two-factor authentication, or open Users > Mrsea Login Security. Accounts without user-list access use the Profile menu.
  5. Enter your current password to start setup.
  6. In Google Authenticator, select + > Scan a QR code. Alternatively select Enter a setup key, copy the displayed key and choose Time based.
  7. Enter your password and the app’s six-digit code to verify and enable protection.
  8. Save the ten recovery codes immediately. They are displayed only once.
  9. Keep your current session open and test the bookmarked login URL in a private window. Wait for a fresh app code after setup.

常见问题

Does everyone have to set up two-factor authentication?

No. Each user enables it for their own account. There is no site-wide mandatory enrollment policy in this version.

Do I need a Google API key or a paid service?

No. Standard TOTP codes and local QR generation do not require an API key.

Can I enter a setup key instead of scanning?

Yes. Both methods are offered during setup and use the same secret. Choose Time based when entering the key manually.

Must I scan again after updating?

No. Existing working enrollments and recovery codes are preserved. QR provisioning is shown only during a new setup, not on the public login form or for already-enrolled accounts.

What if I lose my phone?

Use an unused recovery code in the login code field together with your password. Then manage recovery codes or disable and re-enroll from Mrsea Login Security. If no recovery code remains, ask your verified site administrator to reset only your enrollment. A host administrator can use wp user meta delete USER_ID _mrsea_login_two_factor after verifying your identity.

How do I recover access if I forget the custom login URL?

Use a trusted, logged-in administrator session to view Settings > Mrsea Login. As an emergency last resort, a verified hosting administrator can temporarily rename the mrsea-login plugin directory. This disables both hidden-login routing and 2FA enforcement for everyone, so restore security promptly.

Why is a correct code rejected?

A code may have expired, already been used, or been blocked by the retry limit. Use automatic time on your phone, wait for a fresh code and try again. After five failed attempts, wait five minutes.

Does this version include a visual design editor?

No. It provides a ready-made responsive design, not an admin editor for arbitrary colours, backgrounds or logos.

评价

Simple and Powerful

nownewsng 2026 年 9 月 4 日
I’ve tried several plugins for this purpose, but this is by far the easiest to use. It has all the features I need without making the dashboard complicated. Great plugin and excellent performance.
阅读所有1条评价

贡献者及开发者

「Mrsea Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • mrsea

帮助将「Mrsea Login」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.4.2

  • Removed manual loading of the WordPress template loader and now allows the normal WordPress request lifecycle to render blocked-login responses.

1.4.1

  • Replaced short custom prefixes with the unique mrsea_login prefix.
  • Migrates settings and authenticator enrollment data from the predecessor.

1.4.0

  • Renamed to Mrsea Login with the mrsea-login text domain and directory.
  • Corrected the contributor username to mrsea.
  • Retained saved login and authenticator settings during the rename.
  • Added a guard against running alongside the previous plugin.

1.3.0

  • Added green-and-ivory responsive login design and action-aware headings.
  • Improved authenticator guidance contrast and remember-me alignment.
  • Added local QR-code setup alongside manual entry and a copy-key button.
  • Preserved existing authenticator enrollment, recovery codes and hidden-login settings.

1.2.0

  • Added optional per-user authenticator TOTP, verified enrollment and encrypted secrets.
  • Added ten one-use recovery codes, retry limits, verification locks and replay prevention.

1.1.0

  • Added custom hidden login URL and blocked-login redirect settings.

1.0.0

  • Initial custom login design.

额外信息

  • 版本 1.4.2
  • 最后更新:1 天前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 7.1
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    Authenticatorcustom loginhide loginlogin securitytwo factor
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

您的评价

查看全部评论

贡献者

  • mrsea

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.