summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpiny/lib/Piny.pm1
-rw-r--r--libpiny/lib/Piny/Auth.pm2
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
);