wugg 9 bulan lalu
induk
melakukan
f8b2f1696b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/common/User.php

+ 1 - 1
app/common/User.php

@@ -118,7 +118,7 @@ class User {
             $this->logined = true;
 
             if ($this->token!='') {
-                Token::set($this->token, 'user',$this->userinfo,$this->keeptime);
+                Token::set("user:info:".$this->token, 'user',$this->userinfo,$this->keeptime);
             }
         return true;
     }