zikula-modules/Legal — Issue #8: Reset Acceptance broken
Author: rmburkhead
Created: 2011-12-21 07:22:22+00:00
State: open
Labels: Bug, Critical

The current reset acceptance function is broken. It uses the old method of setting the Users module's `activated` field to a value of `2`, which once signified that the user had to re-accept the terms and conditions. That method is no longer used. It should instead reset the appropriate attribute on the user's record. For the current limited functionality of resetting the terms of use, it should reset the `Legal_Constant::ATTRIBUTE_TERMSOFUSE_ACCEPTED` attribute on the user record to an empty value.