[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

The user text field on Special:EmailUser should be required
Closed, ResolvedPublic

Description

The HTMLUserTextField on Special:EmailUser has the config required = false.

That means it's possible to submit the empty field, but it fails validation (because it also has exists = true), and the following error is shown:

image.png (216×709 px, 11 KB)

Instead, it should have required = true, so that a more helpful error is shown on attempting to submit the empty field:

image.png (140×711 px, 9 KB)

(It should still have exists = true for when it is submitted with a non-empty value.)