Linux 软件免费装
Banner图

Sarala Login Page – Social Login & Login Security

开发者 nayan4321
更新时间 2026年11月10日 01:02
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

social login limit login attempts google login hide login woocommerce login

下载

1.1.1 1.0.1 1.0.2 1.1.0 1.2.0

详情介绍:

Sarala Login Page adds one-click social login and sign-up to WordPress and WooCommerce, and protects your login page at the same time. Visitors log in with the accounts they already have, you stop bots and brute-force attacks, and everything is set up from one simple screen. No account with us, no tracking, no locked features. Features at a glance Social login providers Visitors create an account or log in with one click using the accounts they already have: Works with WordPress and WooCommerce The right role for every new account Existing users log straight in If someone already has an account with the same email address, logging in with Google, Facebook or another provider takes them straight into that account and connects it automatically. For safety this only happens when the provider has verified the email address. Users can also connect and disconnect accounts from their profile (or from My Account > Account details with WooCommerce), and admins see which accounts each user has connected in a "Social login" column on the Users screen. Bot protection with a simple math question The login and registration forms (WordPress and WooCommerce) ask one random question, for example "What is 7 + 9?". The answer is checked on the server, so bots that skip the form cannot get past it. The REST API, XML-RPC and application passwords are not affected. Limit login attempts After 5 failed logins within 15 minutes (you choose the numbers), the IP address is locked out for 30 minutes, even if it then tries the right password. This works on wp-login.php, WooCommerce, XML-RPC and the REST API. You can add your own IP addresses to a "never lock out" list, and see and unlock locked-out addresses on the Failed logins screen. Force password reset Make passwords expire after a number of days you choose (for example 90), for every role or only the ones you pick. When a password is too old, the login is refused and the user is emailed a link to choose a new one. Existing users start counting from their next login, so nobody is locked out the moment you switch it on. Built to be safe Made by Laghavi Digital (Laghavi FZE LLC). Plugin page: laghavi.site/sarala-login-page.

安装:

  1. Upload the sarala-login-page folder to /wp-content/plugins/, or install the plugin from Plugins > Add New.
  2. Activate the plugin.
  3. Go to Sarala Login in the admin menu.
  4. Open each provider you want, copy its Redirect URI into the provider's developer console, paste the keys back, and tick "Enable".
  5. Save. The buttons appear on the login, registration, My Account and checkout pages.
Each provider has step-by-step instructions on the settings page. Your site should use HTTPS; Apple requires it.

屏幕截图:

  • Buttons on the WooCommerce My Account page.
  • Guests can sign up from the checkout page.
  • The settings page, with step-by-step setup for each provider.
  • Connected accounts on the user's profile.

升级注意事项:

1.2.0 GitHub, Discord, Reddit and Yahoo login, and ID token signature checks against each provider's public keys. 1.1.1 The "Powered by" setting moved to the Login page URL section. 1.1.0 Adds X (Twitter) login, limit login attempts (on by default) and optional password expiry. 1.0.1 Code names now use the prefix "saralopa"; your settings and data are moved over automatically. 1.0.0 First release.

常见问题:

How do I add Google login to WordPress?

Install and activate Sarala Login Page, open Sarala Login > Settings, switch on Google and paste the Client ID and Client Secret from Google Cloud Console. The settings screen shows the exact steps and the redirect URI to copy. The "Continue with Google" button then appears on your login and registration pages, and on WooCommerce My Account and checkout.

Does it limit login attempts and stop brute-force attacks?

Yes. After 5 failed logins within 15 minutes (you can change both numbers) the IP address is locked out for 30 minutes, even if it then tries the right password. You can allow your own IP addresses, and see and unlock lockouts on the Failed logins screen.

Can I hide or change the wp-login.php URL?

Yes. Choose your own login address, for example example.com/my-login. Visitors who open wp-login.php or wp-admin without being logged in see your 404 page.

Can I force users to change their password regularly?

Yes. Turn on "Force password reset" and choose after how many days passwords expire, for every role or only some. Users with an expired password are emailed a link to choose a new one.

Does it work with my theme, Elementor or other page builders?

Yes. The buttons are added to the standard WordPress and WooCommerce forms, and the [sarala_login_page] shortcode works in any page builder, widget or theme.

Does Sign in with X (Twitter) give me the user's email address?

Yes, when you switch on "Request email from users" in your app on the X Developer Portal. Without it, people who already have an account can still connect X and log in with it.

Do I need WooCommerce?

No. Without WooCommerce, the buttons appear on the WordPress login and registration pages, and anywhere you use the shortcode.

What role do new users get?

Customer when WooCommerce is active, otherwise the default role in Settings > General. You can change a user's role any time. Developers can use the saralopa_new_user_role filter.

Can I stop new accounts being created?

Yes. Untick "Create a new account…" in the settings. Existing users can still log in with connected accounts.

Someone already has an account. What happens when they use Google?

If Google (or the other provider) confirms the same email address, they are logged into their existing account and Google is connected to it. If the provider has not verified the email, they are asked to log in with their password first and connect the account from their profile, which stops anyone from taking over an account with an unverified email.

Can guests sign up at checkout?

Yes. Guests see the buttons at the top of the checkout page. After signing up or logging in they return to checkout with their cart, and their name and email are filled in.

Where do people go after logging in?

Back to the page they came from when it is known (for example checkout), otherwise My Account for WooCommerce customers, the dashboard for editors and admins, or the home page. Developers can change this with the saralopa_login_redirect filter.

Can I change the security questions?

The four questions are 11 + 2, 7 + 9, 2 + 6 and 4 + 13; one is picked at random. You can turn the question off for login or registration in the settings.

What is the "Powered by Laghavi Digital" link?

A small link under the login buttons to the plugin's page. It is on when you install the plugin. To hide it, untick "Show a small Powered by Laghavi Digital link under the buttons" in Sarala Login › Settings › Login page URL.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.2 1.0.1 1.0.0