---
title: Anyone can register option
canonical: https://wpsecurityninja.com/docs/security-tests/anyone-can-register-option-is-enabled/
---
This test checks whether **Settings → General → Anyone can register** is enabled. Open registration can attract spam accounts and unwanted users.

## Why it matters

If you do not need public signups (membership, WooCommerce customer accounts, etc.), leave registration off. If you do need it, add CAPTCHA / email verification and keep roles restricted.

## How to run the test

1. Open **WP Security Ninja → Security Tests**.
2. Run **Check if ‘anyone can register’ option is enabled**.
3. If it fails and you do not need open registration, disable it as below.

## Disable public registration

1. Go to **Settings → General**.
2. Under **Membership**, uncheck **Anyone can register**.
3. Click **Save Changes**.
4. Re-run the security test.

## Related

* [User “admin” with administrator privileges exists](https://wpsecurityninja.com/docs/security-tests/user-admin-with-administrator-privileges-exists/)
* [Login form protection](https://wpsecurityninja.com/docs/firewall/login-form-protection/)
* [Security Tests overview](https://wpsecurityninja.com/docs/security-tests/security-tests/)
