esotalk/esoTalk

Registration does not honor the email.mention config key

Opened this issue · 3 comments

When setting the email.mention key = true, if a new user registers the "mention me in a post" setting by default is still disabled.

I think we just need to change config.defaults.php so that email.mention = false, and then in core/models/ETMemberModel.class.php line 60 update it so it contains

$preferences = array("email.privateAdd", "email.post", "starOnReply", "email.mention");

Strange - everything works fine w/o this fix...

When I tested without this fix it didn't work as expected. With the key set if I created a new user, they did not have the email.mention preference enabled by default. With this fix, if I had the key set and I created a user, the preference was correctly set by default.

I'll reopen so I can retest this.

Ok, maybe I didn't get the case...