Browse Source

auth reduce redircet debug 6

zz 6 năm trước cách đây
mục cha
commit
db7130f148
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Middleware/ReadOauth.php

+ 1 - 1
app/Http/Middleware/ReadOauth.php

@@ -104,7 +104,7 @@ class ReadOauth
 
 
             $info = DB::table('official_setting')->where('appid',$appid)->select('secret')->first();
             $info = DB::table('official_setting')->where('appid',$appid)->select('secret')->first();
             if($info && $info->secret){
             if($info && $info->secret){
-                $secter = $info->secre;
+                $secter = $info->secret;
             }else{
             }else{
                 $secter = '';
                 $secter = '';
                 abort(404);
                 abort(404);