mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/9650] Do not allow banning the anonymous user by username
Banning anonymous can result in bad things, like not being able to log in. However, it was possible until now. PHPBB3-9650
This commit is contained in:
@@ -42,6 +42,7 @@ $lang = array_merge($lang, array(
|
||||
'BAN_ALREADY_ENTERED' => 'The ban had been previously entered successfully. The ban list has not been updated.',
|
||||
'BAN_SUCCESSFUL' => 'Ban entered successfully.',
|
||||
|
||||
'CANNOT_BAN_ANONYMOUS' => 'You are not allowed to ban the anonymous account. Permissions for anonymous users can be set under the Permissions tab.',
|
||||
'CANNOT_BAN_FOUNDER' => 'You are not allowed to ban founder accounts.',
|
||||
'CANNOT_BAN_YOURSELF' => 'You are not allowed to ban yourself.',
|
||||
'CANNOT_DEACTIVATE_BOT' => 'You are not allowed to deactivate bot accounts. Please deactivate the bot within the bots page instead.',
|
||||
|
Reference in New Issue
Block a user