mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Fix my hilariously dumb mistake in posting allowing unauthed users to post ...
git-svn-id: file:///svn/phpbb/trunk@2200 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b7a60afbab
commit
dfe488f8b1
1 changed files with 5 additions and 0 deletions
|
@ -334,6 +334,7 @@ if ( !$is_auth[$is_auth_type] )
|
||||||
}
|
}
|
||||||
|
|
||||||
header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
|
header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -766,6 +767,10 @@ else
|
||||||
|
|
||||||
$mode = 'reply';
|
$mode = 'reply';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$username = ( $post_info['user_id'] == ANONYMOUS && !empty($post_info['post_username']) ) ? $post_info['post_username'] : "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue