- Fixed a typo
This commit is contained in:
parent
9bf167f782
commit
302b1cc8f6
|
@ -89,6 +89,8 @@ class Cookie {
|
|||
list($hash, $value) = explode('|', $_COOKIE[$key], 2);
|
||||
|
||||
if (! $this->isSecure($hash, $value)) {
|
||||
$this->delete($key);
|
||||
|
||||
throw new Exception\CookieInvalidSecureHashException("Invalid cookie hash value given.");
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
namespace Stoarge\Exception;
|
||||
namespace Storage\Exception;
|
||||
|
||||
class CookieInvalidSecureHashException extends \Exception {}
|
||||
|
|
Loading…
Reference in New Issue