diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-29 19:57:05 -0800 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-29 19:57:05 -0800 |
commit | 73972b824c354e20da48670f3b1bc7aa68a33e07 (patch) | |
tree | 35465100dfdd5c9b7410fdcc12c93969155855ad | |
parent | 760e63b1024227d10c304af1fe2c083a5328983a (diff) | |
download | piny-code-73972b824c354e20da48670f3b1bc7aa68a33e07.tar.gz piny-code-73972b824c354e20da48670f3b1bc7aa68a33e07.zip |
Fix type constraint, import Piny::Auth with rest of Piny.
-rw-r--r-- | libpiny/lib/Piny.pm | 1 | ||||
-rw-r--r-- | libpiny/lib/Piny/Auth.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libpiny/lib/Piny.pm b/libpiny/lib/Piny.pm index 54a5b00..2a19e5a 100644 --- a/libpiny/lib/Piny.pm +++ b/libpiny/lib/Piny.pm @@ -5,6 +5,7 @@ # That way, you can "use Piny" and import all the Piny packages into your namespace in one fell swoop. # Of course, you don't get to pass arguments to their import functions anymore. +use Piny::Auth; use Piny::Config; use Piny::Email; use Piny::Environment; diff --git a/libpiny/lib/Piny/Auth.pm b/libpiny/lib/Piny/Auth.pm index 2bbf60b..ce4989b 100644 --- a/libpiny/lib/Piny/Auth.pm +++ b/libpiny/lib/Piny/Auth.pm @@ -15,7 +15,7 @@ use Digest::HMAC_SHA1; has 'key' => ( is => 'ro' - , isa => 'String' + , isa => 'Value' , lazy_build => 1 ); |