no message

parent a43960c6
......@@ -38,16 +38,16 @@ module.exports = function (User) {
return dbUtils.dbCreateItem(User, newUser);
},
createVKUser : function (socialId, accountType, mail, name, surname, meta) {
createVKUser : function (login, socialId, accountType, mail, name, surname, meta) {
var newUser = {
username : surname + " " + name[0] + ".",
login : socialId,// TODO random string
login : login,
password : ' ',
accountType : accountType,
mail : mail,
name : name,
surname : surname,
meta:meta,
meta : meta,
activated : true,
vk_login : socialId
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment