Wikimedia Developer Support

Forcing "by email" Account creation

How can I force the account creation page to look like this? I can only access the “By Email” when logged in to admin.
by email

The default account creation does not feature the checkbox for “By Email”

Is it possible to require always use “By Email” for creation while at the same time removing the checkbox?

1 Like

Not easily. The relevant logic is in TemporaryPasswordPrimaryAuthenticationProvider::getAuthenticationRequests() (whether it returns a TemporaryPasswordAuthenticationRequest in the AuthManager::ACTION_CREATE case) but it’s hardcoded.