mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02: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
@ -334,6 +334,7 @@ if ( !$is_auth[$is_auth_type] )
|
||||
}
|
||||
|
||||
header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
|
||||
exit;
|
||||
}
|
||||
|
||||
//
|
||||
@ -766,6 +767,10 @@ else
|
||||
|
||||
$mode = 'reply';
|
||||
}
|
||||
else
|
||||
{
|
||||
$username = ( $post_info['user_id'] == ANONYMOUS && !empty($post_info['post_username']) ) ? $post_info['post_username'] : "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user