Skip to content

Commit d362a40

Browse files
committed
fixup
1 parent 5d19039 commit d362a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Login.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export async function handleLogin () {
7979
if (location.hostname !== 'synergism.cc') {
8080
// TODO: better error, make link clickable, etc.
8181
subtabElement.textContent = 'Login is not available here, go to https://synergism.cc instead!'
82-
} else if (Object.keys(parseDocumentCookie()).length === 0) {
82+
} else if (parseDocumentCookie().id) {
8383
if (!member) {
8484
console.log(response, globalBonus, member, personalBonus, document.cookie)
8585
}

0 commit comments

Comments
 (0)