Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit c7cfb318431bdd9b321c7bda2472f798909f7db9 2 parents e9a64c2 + 959aa2d
@adamgriffiths authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  models/ag_auth_model.php
View
2  models/ag_auth_model.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.