Added validated and validation_code to dataAccount data class
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 29 Aug 2017 17:55:52 +0000 (13:55 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 29 Aug 2017 17:55:52 +0000 (13:55 -0400)
classes/data/dataAccount.php

index d5923f5..9eb2d92 100644 (file)
@@ -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 (