mirror of
https://github.com/nextcloud/passman.git
synced 2025-11-08 13:11:31 +08:00
Merge branch 'zandercodes-fix/293/totp-bugfix'
This commit is contained in:
commit
3c07561c30
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@
|
|||
var chunk = bits.substr(i, 4);
|
||||
hex = hex + parseInt(chunk, 2).toString(16);
|
||||
}
|
||||
return hex;
|
||||
return hex.length % 2 ? hex + "0" : hex;
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -124,4 +124,4 @@
|
|||
};
|
||||
}
|
||||
]);
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue