Marc Wäckerlin 9 years ago
parent 7977b29d2d
commit 75e29bfbe3
  1. 2
      html/login.php

@ -37,7 +37,7 @@ try {
success("user $user found on server"); success("user $user found on server");
} elseif ($q->num_rows==0) { } elseif ($q->num_rows==0) {
$q = $db->query("insert into user (name, pubkey) values ('$user', '$pubkey');"); $q = $db->query("insert into user (name, pubkey) values ('$user', '$pubkey');");
if (!q) error("creation of user failed"); if (!$q) error("creation of user failed");
success("user $user created on server"); success("user $user created on server");
} else { } else {
error("server database defect"); error("server database defect");

Loading…
Cancel
Save