From: Chuck Scott Date: Tue, 29 Aug 2017 17:55:52 +0000 (-0400) Subject: Added validated and validation_code to dataAccount data class X-Git-Tag: v1.0.0^2~435 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=abae9ba092e2c763fae9c82e37bfe22551767ada;p=WP-Plugins%2Fglm-member-db-registrations.git Added validated and validation_code to dataAccount data class --- diff --git a/classes/data/dataAccount.php b/classes/data/dataAccount.php index d5923f5..9eb2d92 100644 --- a/classes/data/dataAccount.php +++ b/classes/data/dataAccount.php @@ -123,7 +123,25 @@ class GlmDataRegistrationsAccount extends GlmDataAbstract 'use' => 'a', 'default' => 1 ), - + + // Validated E-Mail address flag + 'validated' => array ( + 'field' => 'validated', + 'type' => 'checkbox', + 'use' => 'lg', + 'default' => false + ), + + // Validation Code - Used to confirm the person creating an account + // During validation process this includes the following. {validation_code}-{timestamp} - validation code is 6 digit number + // The validation code is sent in a simple E-Mail to the user who then has to provide that in a certain amount of time + // The timestamp is to determine if the time for validation has expired. + 'validation_code' => array ( + 'field' => 'validation_code', + 'type' => 'text', + 'use' => 'lg' + ), + // Account /* 'registered_by' => array (