Browse Source

Move starting upload to classes/config.php

biotorrents 2 years ago
parent
commit
97c250626a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/register/index.php

+ 1
- 1
sections/register/index.php View File

@@ -114,7 +114,7 @@ if (!empty($_REQUEST['confirm'])) {
114 114
         INSERT INTO users_main
115 115
           (Username, Email, PassHash, torrent_pass, IP, PermissionID, Enabled, Invites, Uploaded, ipcc)
116 116
         VALUES
117
-          ('".db_string(trim($_POST['username']))."', '".Crypto::encrypt($_POST['email'])."', '".db_string(Users::make_sec_hash($_POST['password']))."', '".db_string($torrent_pass)."', '".Crypto::encrypt($_SERVER['REMOTE_ADDR'])."', '$Class', '$Enabled', '".STARTING_INVITES."', '1073741824', '$IPcc')");
117
+          ('".db_string(trim($_POST['username']))."', '".Crypto::encrypt($_POST['email'])."', '".db_string(Users::make_sec_hash($_POST['password']))."', '".db_string($torrent_pass)."', '".Crypto::encrypt($_SERVER['REMOTE_ADDR'])."', '$Class', '$Enabled', '".STARTING_INVITES."', '".STARTING_UPLOAD."', '$IPcc')");
118 118
 
119 119
       $UserID = $DB->inserted_id();
120 120
 

Loading…
Cancel
Save