Navigation Menu

Skip to content

Commit

Permalink
Change DBIC 'pass' option to 'password'.
Browse files Browse the repository at this point in the history
Update pre-req for Dancer::Plugin::DBIC.
  • Loading branch information
davorg committed Jul 1, 2014
1 parent a14c032 commit 1cddb6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Expand Up @@ -10,7 +10,7 @@ my $build = Module::Build->new(
YAML => 0,
Dancer => 1,
Template => 1,
Dancer::Plugin::DBIC => 0,
Dancer::Plugin::DBIC => 0.1900,
MooseX::MarkAsMethods => 0,
MooseX::NonMoose => 0,
DBIx::Class::EncodedColumn => 0,
Expand Down
4 changes: 2 additions & 2 deletions lib/Lystyng.pm
Expand Up @@ -15,8 +15,8 @@ hook before => sub {
or die 'Must set LYSTYNG_DB_USER and LYSTYNG_DB_PASS';

my $cfg = setting('plugins');
$cfg->{DBIC}{default}{user} = $ENV{LYSTYNG_DB_USER};
$cfg->{DBIC}{default}{pass} = $ENV{LYSTYNG_DB_PASS};
$cfg->{DBIC}{default}{user} = $ENV{LYSTYNG_DB_USER};
$cfg->{DBIC}{default}{password} = $ENV{LYSTYNG_DB_PASS};
};

get '/' => sub {
Expand Down

0 comments on commit 1cddb6d

Please sign in to comment.