fix error msg typo

v1.18.x
Barış Soner Uşaklı 9 years ago
parent ea6d783c31
commit b6234cbd2b

@ -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();
}

Loading…
Cancel
Save