Browse Source

Make sure to forget failed credentials.

pull/48/head
Simon Eisenmann 11 years ago
parent
commit
af8ecd7e36
  1. 1
      static/js/controllers/mediastreamcontroller.js

1
static/js/controllers/mediastreamcontroller.js

@ -402,6 +402,7 @@ define(['underscore', 'bigscreen', 'moment', 'sjcl', 'webrtc.adapter'], function
delete data.nonce; delete data.nonce;
}, function(data, status) { }, function(data, status) {
console.error("Failed to authorize session", status, data); console.error("Failed to authorize session", status, data);
mediaStream.users.forget();
}); });
} }
} }

Loading…
Cancel
Save