at first, I didn't enable the RequireValidatedEmail plugin, so all new users can post tweets as soon as the registered.
then, I enabled the "RequireValidatedEmail " plugin, I find a problem: the old users can't post tweets! they need to be validate their Email address(these users has never validated their Email before), just as the new users who registered after the invocation of the "RequireValidatedEmail " plugin!
well, I just want there's no need for these old users to validated their email address!
and I checked the MySQL, find the problem:
even if I turn off the RequireValidatedEmail plugin, the old users's Email address still kept in the "confirm_address" table, but not in the "user" table, and if anyone who's email address hasn't been filled into the "user" table, they will not be able to post when the "RequireValidatedEmail " plugin has been enabled!
I think it's a bug, and I feel it's not easy to fix.
Comments
开启之后 以前未验证的用户也是要验证吃可发言
呵呵
-------
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');
-------