Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jun 26, 2024
1 parent 5d19039 commit d362a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function handleLogin () {
if (location.hostname !== 'synergism.cc') {
// TODO: better error, make link clickable, etc.
subtabElement.textContent = 'Login is not available here, go to https://synergism.cc instead!'
} else if (Object.keys(parseDocumentCookie()).length === 0) {
} else if (parseDocumentCookie().id) {
if (!member) {
console.log(response, globalBonus, member, personalBonus, document.cookie)
}
Expand Down

0 comments on commit d362a40

Please sign in to comment.