digital dreamer d7fd6bac72 Snapshot of the Transifex translation project - October 2015 9 年之前
..
actions cfaaf3c13c PasswordsettingsAction aligned with FormAction 9 年之前
locale d7fd6bac72 Snapshot of the Transifex translation project - October 2015 9 年之前
scripts 1ab4c9998a Add executable permission to script missing it 9 年之前
README 158140a118 Add translator documentation. 13 年之前
RequireValidatedEmailPlugin.php 3f3482f017 Stronger typing and fixes in RequireValidatedEmail 9 年之前

README

This plugin disables posting for accounts that do not have a
validated email address.

Example:

addPlugin('RequireValidatedEmail');

If you don't want to apply the validationr equirement to existing
accounts, you can specify a cutoff date to grandfather in users
registered prior to that timestamp.

addPlugin('RequireValidatedEmail',
array('grandfatherCutoff' => 'Dec 7, 2009');

You can also exclude the validation checks from OpenID accounts
connected to a trusted provider, by providing a list of regular
expressions to match their provider URLs.

For example, to trust WikiHow and Wikipedia users:

addPlugin('RequireValidatedEmailPlugin', array(
'trustedOpenIDs' => array(
'!^http://\w+\.wikihow\.com/!',
'!^http://\w+\.wikipedia\.org/!',
),
));

Todo:
* add a more visible indicator that validation is still outstanding
* test with XMPP, API posting