Log in, register & reset

One popup with three views. Customers switch between them with the links at the bottom of each view.

Free

Log in

  • Username or email address and Password (with a show/hide button)
  • Remember me, Lost your password? and the Log in button
  • "New customer? Create an account" (only when registration is allowed)

Register

  • Email address and Password (this store lets WooCommerce generate usernames, so there is no Username field)
  • WooCommerce's registration privacy text with the privacy policy link
  • The Register button and "Already have an account? Log in"

The register view follows WooCommerce → Settings → Accounts & Privacy:

WooCommerce settingIn the popup
Allow customers to create an account on the "My account" pageOff: no register view, no "Create an account" link, and register links open Log in.
When creating an account, automatically generate an account usernameOn: no Username field. Off: a Username field is shown and required.
When creating an account, send the new user a link to set their passwordOn: no Password field, and the hint "A link to set a new password will be sent to your email address."
Registration privacy policyShown above the Register button, with your privacy policy link.

WooCommerce creates the customer and sends its New Account email. Customers are signed in straight away (unless a plugin stops it) and go to the page chosen under After registering. If they are not signed in automatically, the popup switches to Log in with the success message.

Lost password

  • "Enter your username or email address. You will receive a link to create a new password via email."
  • Username or email address, the Reset password button and "Back to log in"

The popup sends WooCommerce's Reset Password email. Its link opens WooCommerce's own reset form on the My Account page, where the new password is set. The popup stays on this view and shows the message below.

Messages and errors

Problems with a field are shown under that field, and the first one gets focus. General messages appear under the heading.

  • Example rendered in the page, nothing was submitted
  • Email address "alex@example": "Please enter a valid email address."
  • Empty Password: "This field is required."
  • Example rendered in the page, nothing was submitted
  • The green success message after a reset request, as shown while "Don't reveal whether an account exists" is on
MessageWhen
This field is required. / Please enter a valid email address.Checked in the browser before sending.
The username, email address or password you entered is incorrect.Login failed (with Don't reveal whether an account exists on).
If an account matches that username or email address, a password reset link has been sent…Reset requested, with Don't reveal whether an account exists on (default).
A password reset link has been sent to the email address for your account…Reset requested, with that setting off.
Too many attempts. Please try again in N minutes.The attempt limit was reached.
Your session has expired. Please try again.The page's security token was too old; the popup fetches a new one, so trying again works.
We could not reach the server. Check your connection and try again.The request could not be sent.
New account registration is currently disabled.Registration was switched off in WooCommerce.

Messages from WooCommerce and other plugins (for example "An account is already registered with your email address") are shown as they are.

On phones

  • The Log in view filling the whole screen of a 390 px wide phone (Full screen on phones is on by default)

Turn Full screen on phones off to show a centered card instead.