MyBB Community Forums

Full Version: coppa form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have coppa disabled on my site as I deny those under 13. Bu apparently people figured out the coppa form location.

member.php?action=coppa_form

I suggest that the switch adds a check for coppa to be enabled in member.php.

Currently only looks for the action and not if coppa is enabled.

if($mybb->input['action'] == "coppa_form")

Would be nicer if it was...

if($mybb->input['action'] == "coppa_form" && $settings['coppa'] =="enabled")


Just a suggestion.
Probably better to have a no permission error?
Considering the coppa form can only be accessed directly if setting is disabled I'm not sure a no_perm is needed but your call if and how this is implemented.