Commit Graph

5 Commits

Author SHA1 Message Date
Shawn Kwang 90bdd9196a web: defined CONSENT_TYPE_ENROLL and replaced string 'ENROLL' with this define.
No changes to functionally, only a new define().
2018-09-17 12:55:55 -05:00
Shawn Kwang 20d195e54e web: Fixed bug where disabled ENROLL consent_type still sent user to user-agreement Web form. 2018-09-06 12:48:13 -05:00
Shawn Kwang ffdc327509 web: Web code modified to work with new database table definitions.
Modified web code to use consent_type_id in place of consent_name in various places.
RPCs also modified to use the new definitions.
2018-06-15 15:38:39 -05:00
Shawn Kwang 8e023cc665 web: Replaced SESSION with temporary cookies.
Temporary cookies hold the userid information so the subsequent form can set the consent.
2018-06-11 11:43:16 -05:00
Shawn Kwang f172822a94 web: Exiting users agree to terms of use when logging in.
Renamed 'optin consent' to 'agree to terms of use'. New config.xml variable name.
Decoupled new user agree to terms of use from existing users. If there is a ENROLL terms of use, and the project has enabled the 'enable_login_mustagree_termsofuse' boolean, then existing users must agree to the terms of use when the login, and this is recorded in the consent table.
2018-06-04 11:26:43 -05:00