Browse Source

auth reduce redircet debug 6

zz 6 years ago
parent
commit
db7130f148
1 changed files with 1 additions and 1 deletions
  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();
             if($info && $info->secret){
-                $secter = $info->secre;
+                $secter = $info->secret;
             }else{
                 $secter = '';
                 abort(404);