Skip to content

Commit

Permalink
Merge pull request #100 from sdebacker/patch-2
Browse files Browse the repository at this point in the history
signing_key, not secure_key.
  • Loading branch information
weotch committed Jun 30, 2015
2 parents 8f3e4f5 + 6ae5c44 commit d9631cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bkwld/Croppa/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public function getConfig() {
$config = $this->app->make('config')->get($key);

// Use Laravel's encryption key if instructed to
if (isset($config['secure_key']) && $config['secure_key'] == 'app.key') {
$config['secure_key'] = $this->app->make('config')->get('app.key');
if (isset($config['signing_key']) && $config['signing_key'] == 'app.key') {
$config['signing_key'] = $this->app->make('config')->get('app.key');
}
return $config;
}
Expand Down

0 comments on commit d9631cd

Please sign in to comment.