Browse Source

Un-bust creating new accounts.

wolfbeast 6 years ago
parent
commit
269d4da4f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      weave_storage.php

+ 1 - 1
weave_storage.php

@@ -757,7 +757,7 @@ class WeaveStorage
 
         try
         {
-            $create_statement = "insert into users values (:username, :md5)";
+            $create_statement = "insert into users (username, md5, login) values (:username, :md5, null)";
 
             $sth = $this->_dbh->prepare($create_statement);
             $hash = WeaveHashFactory::factory();