Skip to content

Node.js based forum software built for the modern web

fix error msg typo

Barış Soner Uşaklıb6234cbd2b60
diff --git a/src/user/profile.js b/src/user/profile.js
index 0cadfd6c1e..631d8d8f09 100644
--- a/src/user/profile.js
+++ b/src/user/profile.js
@@ -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();
}