This commit is contained in:
2021-03-29 16:27:12 +08:00
parent c1d37ce826
commit 4442397aa9
10 changed files with 25 additions and 16 deletions
+3 -1
View File
@@ -3,6 +3,8 @@ declare(strict_types=1);
namespace Snowflake\Jwt;
use Annotation\Aspect;
use Database\InjectProperty;
use Exception;
use HttpServer\Http\HttpHeaders;
use ReflectionException;
@@ -79,7 +81,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
/**
* @throws ConfigException
*/
public function init()
#[Aspect(InjectProperty::class)] public function init()
{
if (!Config::has('ssl.public') || !Config::has('ssl.private')) {
return;