a Bug about "RequireValidatedEmail"

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

  • especially for those statusnet installation who will change they Validated state occasionally
  • 邮件验证 针对全局的
    开启之后 以前未验证的用户也是要验证吃可发言
    呵呵
  • For 0.9.x the plugin supports "grandfathering" in older users who haven't validated their addresses. From the plugin's README file:

    -------

    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');

    -------
  • thanks! sorry I didn't check the plugin's readme file :)
  • 晕 那句 加时间 的 以前版本是没有的 汗
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID