mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 12:01:17 +01:00
closes #6481
This commit is contained in:
@@ -91,7 +91,7 @@ module.exports = function (Groups) {
|
||||
return callback(new Error('[[error:group-name-too-long]]'));
|
||||
}
|
||||
|
||||
if (!Groups.isPrivilegeGroup(name) && name.includes(':')) {
|
||||
if (name === 'guests' || (!Groups.isPrivilegeGroup(name) && name.includes(':'))) {
|
||||
return callback(new Error('[[error:invalid-group-name]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user