Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Config/Schema/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand All @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion View/Users/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
</div>
<div class="actions">
<ul>
<li><?php echo $this->Html->link(__d('users', 'Register an account'), array('action' => 'register')); ?></li>
<li><?php echo $this->Html->link(__d('users', 'Register an account'), array('action' => 'add')); ?></li>
</ul>
</div>