Skip to content

Commit

Permalink
Merge branch 'date-joined-bug'
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfunk committed Jan 15, 2014
2 parents ef55839 + 73df0ee commit 2106974
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions application/models/users_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ function create_user()
}

$this->db->insert('users', array(
'email' => $email,
'password' => $hash['encrypted'],
'salt' => $hash['salt'],
'status' => 'active'
'email' => $email,
'password' => $hash['encrypted'],
'salt' => $hash['salt'],
'status' => 'active',
'date_joined' => date('Y-m-d H:i:s')
));

// Get userid of this user
Expand Down
5 changes: 5 additions & 0 deletions application/views/changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<h2>Changelog</h2>
<p>A quick list of what's new. Posted immediately upon update.</p>

<h4 id="0311"><a href="#0311">0.3.11 - 15 January 2014</a></h4>
<ul>
<li>Bug: Added date_joined back to being saved on new user accounts.</li>
</ul>

<h4 id="0310"><a href="#0310">0.3.10 - 15 January 2014</a></h4>
<ul>
<li>Update: Users with old password encryption technique will be update to new encrypted password/salt upon next successful login.</li>
Expand Down

0 comments on commit 2106974

Please sign in to comment.