We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423dcca commit b8ff911Copy full SHA for b8ff911
1 file changed
public/js/common.js
@@ -53,7 +53,8 @@ function checkLoginStateChanged() {
53
}
54
55
function getLoginState() {
56
- return Cookies.get('loginstate') === "true";
+ var state = Cookies.get('loginstate');
57
+ return state === "true" || state === true;
58
59
60
function getUserId() {
0 commit comments