rabin 5 years ago
parent
commit
ea035161cd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      buy/src/Data.php

+ 4 - 4
buy/src/Data.php

@@ -12,11 +12,11 @@ class Data extends Base
 
     public function checkLogin()
     {
-        //return $this->location('list');
+        //return $this->location('home');
         if ($this->user) {
-            //return $this->location('list');
+            //return $this->location('home');
         } else {
-            //return $this->location('auth');
+            return $this->location('auth');
         }
     }
 
@@ -24,7 +24,7 @@ class Data extends Base
     {
         //return $this->location('list');
         if ($this->user) {
-            return $this->location('list');
+            return $this->location('home');
         }
     }
 }