Explorar o código

Changed on Login Stuff and visibility control.

jason.lu %!s(int64=7) %!d(string=hai) anos
pai
achega
563724b011
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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";
         }
     }
 }