Merge pull request #9 from Ventero/password

Password is always "[object ArrayBuffer"
This commit is contained in:
Matt Corallo 2014-04-20 22:16:14 +00:00
commit d9e7e59c3a

View file

@ -24,7 +24,7 @@ $('#number').on('change', function() {//TODO
var single_device = false;
var signaling_key = getRandomBytes(32 + 20);
var password = btoa(getRandomBytes(16));
var password = btoa(getString(getRandomBytes(16)));
password = password.substring(0, password.length - 2);
$('#init-go-single-client').click(function() {