afa 5 달 전
부모
커밋
047a64c7ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/service/auth/MysqlAdapter.php

+ 1 - 1
app/api/service/auth/MysqlAdapter.php

@@ -48,7 +48,7 @@ class MysqlAdapter
     public static function logout(int $uid)
     {   
         $token = request()->header('token');
-        UserToken::where('$token', $token)->delete();
+        UserToken::where('token', $token)->delete();
         Cache::delete('user_info_'.$uid);
     }
 }