Moderators can see the "show associated accounts" button but can't use it

It seems like moderators can see the “show email”/“show associated accounts” button in user preferences of other users but can’t use it. Returning an error saying it’s forbidden(Error: 403) in the console. Here’s a screenshot:

My guess here is that this is only being half checked:

So, if “show_email_on_profile” is set to false, moderators should not see the button. @vinothkannans can sort it out.


This is fixed now as per the commit


This topic was automatically closed after 2 days. New replies are no longer allowed.