117 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. ---
  2. title: RequireValidatedEmail plugin: no new registrations are possible
  3. author: notabug.org/aab
  4. time: Sun, 29 Mar 2020 12:37:09 UTC
  5. status: closed
  6. ---
  7. author: notabug.org
  8. time: Sun, 29 Mar 2020 12:37:09 UTC
  9. content: -----
  10. Enabling RequireValidatedEmail in config.php like this: <code>addPlugin('RequireValidatedEmail', array('grandfatherCutoff' => 'Jun 1, 2019'));</code> When i try to register a new account, after filling the info and clicking on "Register", this message appears: "You must validate your email address before posting". The new account is not created and no email is sent, so there's no way to do it. I've also tried adding "array('disallowlogin' => 'false'));", but the results are the same.
  11. -----
  12. author: notabug.org
  13. time: Sun, 29 Mar 2020 14:17:32 UTC
  14. content: -----
  15. ~~gnusocial.net uses this plugin, they encountered this bug and they fixed it. https://gnusocial.net/conversation/4613553#notice-7666485~~ EDIT: heard from @administrator@gnusocial.net that they "fixed" by using future date in `grandfatherCutoff`.
  16. -----
  17. author: notabug.org
  18. time: Sun, 29 Mar 2020 23:29:49 UTC
  19. content: -----
  20. if error message is exact, then it comes from https://notabug.org/diogo/gnu-social/src/nightly/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php#L100 why `onStartNoticeSave` is called on registration?
  21. -----
  22. author: notabug.org
  23. time: Mon, 10 Aug 2020 14:09:42 UTC
  24. content: -----
  25. 7cb10b71bb3d69cad465d5bf64f025d800e74ff2 takes care of that.
  26. -----