Skip to content

Commit 3b6854c

Browse files
committed
Update getIsHumanFromSessionStorage
1 parent cb40c2f commit 3b6854c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/humanity-check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class HumanityCheck {
5151

5252
// Backward-compatible alias
5353
getIsHumanFromSessionStorage() {
54-
return this.getIsHumanFromStorage();
54+
return !!store.session.get(storageKey) || false;
5555
}
5656

5757
// Return boolean indicating if user is a bot

0 commit comments

Comments
 (0)