|
@@ -66,7 +66,7 @@ |
|
|
block discarded – undo |
|
66
|
66
|
public function register(): void |
|
67
|
67
|
{ |
|
68
|
68
|
$this->app->bind(AdapterInterface::class, OpenSSL::class); |
|
69
|
|
- $this->app->bind(Encryption::class, function (ContainerInterface $app) { |
|
|
69
|
+ $this->app->bind(Encryption::class, function(ContainerInterface $app) { |
|
70
|
70
|
$e = new Encryption($app->get(AdapterInterface::class)); |
|
71
|
71
|
$e->setSecret($app->get(Config::class)->get('security.encryption.key', '')); |
|
72
|
72
|
|
Please login to merge, or discard this patch.