@@ -307,7 +307,7 @@ class AuthController extends Controller
\Log::error("Send sms failed.");
}
- if(env("APP_DEBUG",false)){
+ if(env("APP_DEBUG")){
return $this->error(1);
}else{
//product