forked from GithubBackups/vichan
Fix fatal errors on board create/DNSBL bypass
This commit is contained in:
parent
691bc1c3fa
commit
79168cc4e1
@ -5,7 +5,6 @@ include "inc/functions.php";
|
|||||||
checkBan('*');
|
checkBan('*');
|
||||||
|
|
||||||
if (!isset($_POST['uri'], $_POST['title'], $_POST['subtitle'], $_POST['username'], $_POST['password'])) {
|
if (!isset($_POST['uri'], $_POST['title'], $_POST['subtitle'], $_POST['username'], $_POST['password'])) {
|
||||||
include '8chan-captcha/functions.php';
|
|
||||||
|
|
||||||
$password = base64_encode(openssl_random_pseudo_bytes(9));
|
$password = base64_encode(openssl_random_pseudo_bytes(9));
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'inc/functions.php';
|
include 'inc/functions.php';
|
||||||
include '8chan-captcha/functions.php';
|
|
||||||
|
|
||||||
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||||
$captcha = generate_captcha($config['captcha']['extra']);
|
$captcha = generate_captcha($config['captcha']['extra']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user