fix error msg typo

This commit is contained in:
Barış Soner Uşaklı
2016-06-29 23:17:14 +03:00
parent ea6d783c31
commit b6234cbd2b

View File

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