| Key | Default |
|---|---|
approval.enabled | false |
approval.auto_domains | empty |
How it works
A new self-registration is created with status pending and cannot sign in until somebody approves it.
Pending uses the same account-status mechanism as disabling — pending is simply a premium-only value of the status the free plugin already owns. So a pending account is blocked on every authentication route, not just the login form, with no separate enforcement path to get wrong.
Auto-approve by domain
Map an email domain to a role:
| Domain | Role |
|---|---|
@company.com | Editor |
@contractor.example | Author |
| anything else | held for approval |
So staff registering with a work address are provisioned straight to the right role, and everybody else waits.
The domain is taken from the address as registered, and registration does not by itself prove the person controls it. Combine domain auto-approve with WordPress's email confirmation, or with single sign-on, where the identity provider has already proved the domain.
Where to approve
Pending accounts appear in the console with a status filter, and can be approved individually or in bulk.
What the person sees
A message at the login screen. As with the disabled-account message, whatever you write is shown to anybody who tries that username.
What gets logged
Registration, the pending status, the approval or rejection, and the actor who decided.
If you turn it off
Accounts already pending stay pending. Disabling the module does not retroactively approve a queue — approve them, or they remain blocked with nothing left to approve them from.
That is worth knowing before you switch it off to debug something.