Parcourir la source

Changed on Login Stuff and visibility control.

jason.lu il y a 7 ans
Parent
commit
563724b011
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      js/common.js

+ 2 - 0
js/common.js

@@ -14,6 +14,8 @@ function getUserId() {
     }else{
         if(parseInt(userId) <= 0){
             location.href = "sign-in1.html?from=entrance-4&msg=from-cookie-parseOut0";
+        }else{
+            location.href = "sign-in1.html?from=entrance-4&msg=must-auth";
         }
     }
 }