refactor: only run login if logout and login are falsey

This commit is contained in:
Derrick Hammer 2023-08-04 11:30:27 -04:00
parent 22a73737af
commit 0e889ded3e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function handleStorage(event: StorageEvent) {
return;
}
if (event.key === "key" && !getLoginComplete()) {
if (event.key === "key" && !getLoginComplete() && !getLogoutComplete()) {
let userKey;
try {