Permalink
Browse files

Merge branch 'master' of github.com:adamgriffiths/ag-auth

  • Loading branch information...
2 parents e9a64c2 + 959aa2d commit c7cfb318431bdd9b321c7bda2472f798909f7db9 @adamgriffiths committed Sep 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 models/ag_auth_model.php
View
@@ -40,7 +40,7 @@ public function login_check($username, $field_type)
public function register($username, $password, $email)
{
- if($this->db->set('username', $username)->set('password', $password)->set('email', $email)->set('group', '100')->insert($this->user_table))
+ if($this->db->set('username', $username)->set('password', $password)->set('email', $email)->set('group_id', '100')->insert($this->user_table))
{
return TRUE;
}

0 comments on commit c7cfb31

Please sign in to comment.