Skip to content

Commit

Permalink
Fix token to be shorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jq-rs committed Jun 14, 2022
1 parent 2e4912b commit 3821b58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/mlestalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,6 @@ function createSipToken(channel) {
function selectSipToken(channel) {
if(gSipKey[channel] && gSipKeyChan[channel]) {
let atoken = SipHash.hash_hex(gSipKey[channel], gSipKeyChan[channel]);
atoken = atoken + gSipKeyChan[channel];
let token = btoa(atoken);
document.getElementById("qrcode_link").setAttribute("href", getToken(channel, token));
qrcode.clear(); // clear the code.
Expand Down

0 comments on commit 3821b58

Please sign in to comment.