From abae9ba092e2c763fae9c82e37bfe22551767ada Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 29 Aug 2017 13:55:52 -0400 Subject: [PATCH] Added validated and validation_code to dataAccount data class --- classes/data/dataAccount.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 ( -- 2.17.1