Skip to content
Snippets Groups Projects
Commit a053afd9 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

fix guest users default role

parent 2f0d8ef0
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ Meteor.methods({ ...@@ -35,7 +35,7 @@ Meteor.methods({
} }
userData = { userData = {
username: user, username: user,
globalRoles: 'livechat-guest', globalRoles: ['livechat-guest'],
department: department department: department
}; };
userId = Accounts.insertUserDoc({}, userData); userId = Accounts.insertUserDoc({}, userData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment