bugfix: one account could potentially use speech creds from a different account

This commit is contained in:
Dave Horton
2023-05-30 14:58:42 -04:00
parent 3141646dfd
commit 307787526d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ const obscureKey = (key) => {
const key_spoiler_length = 6;
const key_spoiler_char = 'X';
if (key.length <= key_spoiler_length) {
if (!key || key.length <= key_spoiler_length) {
return key;
}