1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

Blank email if config.field_email_selectbox

This commit is contained in:
8chan 2015-02-16 16:35:37 -08:00
parent 0389b280d8
commit 3a44ccbf85

View File

@ -327,6 +327,9 @@ elseif (isset($_POST['post'])) {
if ($config['field_disable_email'])
$_POST['email'] = '';
if ($config['field_email_selectbox'] && $_POST['email'] != 'sage')
$_POST['email'] = '';
if ($config['field_disable_password'])
$_POST['password'] = '';