mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
1f7fbc5c20
commit
ab2daf37f0
@ -13,9 +13,10 @@
|
||||
"housexclusive.net", "plixid.com", "h33t", "reggaeme.com" ,"ThePirateBay.org",
|
||||
"Limetorrents.com", "AhaShare.com", "MixFiend.blogstop", "MixtapeTorrent.blogspot");
|
||||
|
||||
|
||||
function check_file($Type, $Name) {
|
||||
check_name(strtolower($Name));
|
||||
check_extensions($Type, $Name);
|
||||
check_extensions($Type, strtolower($Name));
|
||||
}
|
||||
|
||||
function check_name($Name) {
|
||||
|
@ -26,7 +26,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password </td>
|
||||
<td colspan="2"><input type="password" name="password" id="password" class="inputtext" required="required" maxlength="40" pattern=".{6,40}" /></td>
|
||||
<td colspan="2"><input type="password" name="password" id="password" class="inputtext" required="required" maxlength="100" pattern=".{6,100}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
@ -3,6 +3,7 @@
|
||||
enforce_login();
|
||||
$TorrentPass = $LoggedUser['torrent_pass'];
|
||||
$DownloadAlt = $LoggedUser['DownloadAlt'];
|
||||
$UserID = $LoggedUser['ID'];
|
||||
} else {
|
||||
$UserInfo = $Cache->get_value('user_'.$_REQUEST['torrent_pass']);
|
||||
if(!is_array($UserInfo)) {
|
||||
@ -25,6 +26,13 @@
|
||||
|
||||
$TorrentID = $_REQUEST['id'];
|
||||
|
||||
$uih = user_heavy_info($UserID);
|
||||
if ($_REQUEST['authkey'] != $uih['AuthKey']) {
|
||||
|
||||
error(403);
|
||||
die;
|
||||
}
|
||||
|
||||
if (!is_number($TorrentID)){ error(0); }
|
||||
|
||||
$Info = $Cache->get_value('torrent_download_'.$TorrentID);
|
||||
|
@ -426,11 +426,11 @@ function checked($Checked) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>New password</strong></td>
|
||||
<td><input type="password" size="40" name="new_pass_1" id="new_pass_1" value="" /> <b id="pass_strength"/></td>
|
||||
<td><input type="password" size="40" name="new_pass_1" id="new_pass_1" value="" maxlength="100" /> <b id="pass_strength"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Re-type new password</strong></td>
|
||||
<td><input type="password" size="40" name="new_pass_2" id="new_pass_2" value="" /> <b id="pass_match"/></td>
|
||||
<td><input type="password" size="40" name="new_pass_2" id="new_pass_2" value="" maxlength="100" /> <b id="pass_match"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Reset passkey</strong></td>
|
||||
|
Loading…
Reference in New Issue
Block a user