#117 RequireValidatedEmail plugin: no new registrations are possible

Closed
opened 4 months ago by aab · 3 comments
aab commented 4 months ago

Enabling RequireValidatedEmail in config.php like this:

addPlugin('RequireValidatedEmail', array('grandfatherCutoff' => 'Jun 1, 2019'));

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.

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.
roytam commented 4 months ago

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.

~~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`.
roytam commented 4 months ago

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?

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?
XRevan86 commented 4 hours ago
Collaborator

7cb10b71bb takes care of that.

7cb10b71bb3d69cad465d5bf64f025d800e74ff2 takes care of that.
Sign in to join this conversation.
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.