mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
fix error msg typo
This commit is contained in:
@@ -103,7 +103,7 @@ module.exports = function(User) {
|
||||
|
||||
function isGroupTitleValid(next) {
|
||||
if (data.groupTitle === 'registered-users' || groups.isPrivilegeGroup(data.groupTitle)) {
|
||||
next(new Error('[[error:invali-group-title]]'));
|
||||
next(new Error('[[error:invalid-group-title]]'));
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user