A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Forcing “by email” Account creation

Peggisan

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?

Tgr

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