From 878b83b8a02a84baa8cb8aef477909fc2180c222 Mon Sep 17 00:00:00 2001 From: Ben McClure Date: Mon, 12 Sep 2011 13:18:32 -0500 Subject: [PATCH 1/2] Updated to match the latest Migration schema file. --- Config/Schema/schema.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Config/Schema/schema.php b/Config/Schema/schema.php index fd3691150..0653c4614 100644 --- a/Config/Schema/schema.php +++ b/Config/Schema/schema.php @@ -24,7 +24,7 @@ function before($event = array()) { function after($event = array()) { } - var $details = array( + var $user_details = array( 'id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'primary'), 'user_id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36), 'position' => array('type' => 'float', 'null' => false, 'default' => '1'), @@ -44,9 +44,9 @@ function after($event = array()) { 'password' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 128), 'password_token' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 128), 'email' => array('type' => 'string', 'null' => true, 'default' => NULL, 'key' => 'index'), - 'email_authenticated' => array('type' => 'boolean', 'null' => true, 'default' => '0'), + 'email_verified' => array('type' => 'boolean', 'null' => true, 'default' => '0'), 'email_token' => array('type' => 'string', 'null' => true, 'default' => NULL), - 'email_token_expires' => array('type' => 'datetime', 'null' => true, 'default' => NULL), + 'email_token_expiry' => array('type' => 'datetime', 'null' => true, 'default' => NULL), 'tos' => array('type' => 'boolean', 'null' => true, 'default' => '0'), 'active' => array('type' => 'boolean', 'null' => true, 'default' => '0'), 'last_login' => array('type' => 'datetime', 'null' => true, 'default' => NULL), From d83a8ed4b174a8d18a8ab5b7c3bcafa32c9918c1 Mon Sep 17 00:00:00 2001 From: Ben McClure Date: Mon, 12 Sep 2011 13:32:16 -0500 Subject: [PATCH 2/2] 'Register an account' link on the index page was pointing to non-existent action 'register'. Changed it to 'add'. --- View/Users/index.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/Users/index.ctp b/View/Users/index.ctp index 1b2ef76e6..fa0d4706c 100644 --- a/View/Users/index.ctp +++ b/View/Users/index.ctp @@ -56,6 +56,6 @@
    -
  • Html->link(__d('users', 'Register an account'), array('action' => 'register')); ?>
  • +
  • Html->link(__d('users', 'Register an account'), array('action' => 'add')); ?>