From 6fa7a0b5c93927ecab3e4d2638ad40a9ec5eae2c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 20 Jan 2015 11:17:04 +0100 Subject: [PATCH] Replace secret with secrets --- vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vroom.pl b/vroom.pl index eda233f..e32a3a9 100755 --- a/vroom.pl +++ b/vroom.pl @@ -1731,7 +1731,7 @@ get '/:room' => sub { # use the templates defined in the config push @{app->renderer->paths}, 'templates/'.$config->{'interface.template'}; # Set the secret used to sign cookies -app->secret($config->{'cookie.secret'}); +app->secrets([$config->{'cookie.secret'}]); app->sessions->secure(1); app->sessions->cookie_name($config->{'cookie.name'}); app->hook(before_dispatch => sub {