Skip to content

Commit

Permalink
remove tags
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed May 21, 2018
1 parent 50f7a91 commit dbe309d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/user/user_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function register($username, $password, $email)
$apikey_write = md5(uniqid(mt_rand(), true));
$apikey_read = md5(uniqid(mt_rand(), true));

$stmt = $this->mysqli->prepare("INSERT INTO users ( username, password, email, salt ,apikey_read, apikey_write, admin, tags) VALUES (?,?,?,?,?,?,0,'')");
$stmt = $this->mysqli->prepare("INSERT INTO users ( username, password, email, salt ,apikey_read, apikey_write, admin) VALUES (?,?,?,?,?,?,0)");
$stmt->bind_param("ssssss", $username, $password, $email, $salt, $apikey_read, $apikey_write);
if (!$stmt->execute()) {
$stmt->close();
Expand Down

0 comments on commit dbe309d

Please sign in to comment.