added arg client_id from cookie to login_with_token

This commit is contained in:
Jonathan Kolyer 2013-02-21 19:42:56 -06:00
parent 6043aa59e2
commit 16e28b5f3d
1 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,10 @@
// create a login message using token (a cookie or similiar)
factory.login_with_token = function(token) {
var login = { token : token };
//context.JK.logger.debug("*** login_with_token: client_id = "+$.cookie("client_id"));
var login = { token : token,
client_id : $.cookie("client_id")
};
return client_container(msg.LOGIN, route_to.SERVER, login);
};