diff --git a/src/EloquentEncryption.php b/src/EloquentEncryption.php index 4dba309..499498d 100644 --- a/src/EloquentEncryption.php +++ b/src/EloquentEncryption.php @@ -32,7 +32,7 @@ public function __construct() $this->public_key_path = Config::get('eloquent_encryption.key.public', 'eloquent_encryption.pub'); $this->private_key_path = - Config::get('eloquent_encryption.key.public', 'eloquent_encryption'); + Config::get('eloquent_encryption.key.private', 'eloquent_encryption'); } /**