mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 19:29:28 +01:00
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('*');
|
||||
|
||||
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));
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
include 'inc/functions.php';
|
||||
include '8chan-captcha/functions.php';
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$captcha = generate_captcha($config['captcha']['extra']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user