diff --git a/users.js b/users.js index ee2686d..5e270ff 100644 --- a/users.js +++ b/users.js @@ -17,7 +17,7 @@ exports.get = function (username, req) { return config.get(username, req) .then(password => { if (!password) { - throw new Error('User not found') + throw new Error('Unknown role') } return generateUser(username, password) })