Skip to content
Permalink
Browse files

Add call to parent::__construct()

  • Loading branch information...
ADmad committed Dec 14, 2016
1 parent 6944fab commit 5f3f16a43811511213ea92e85bddde3da37b9e6f
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/Auth/DigestAuthenticate.php
@@ -83,8 +83,6 @@ class DigestAuthenticate extends BasicAuthenticate
*/
public function __construct(ComponentRegistry $registry, array $config = [])
{
$this->_registry = $registry;
$this->config([
'nonceLifetime' => 300,
'secret' => Configure::read('Security.salt'),
@@ -93,7 +91,7 @@ public function __construct(ComponentRegistry $registry, array $config = [])
'opaque' => null,
]);
$this->config($config);
parent::__construct($registry, $config);
}
/**

0 comments on commit 5f3f16a

Please sign in to comment.
You can’t perform that action at this time.