Skip to content

Commit

Permalink
generate a better secret by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 5, 2017
1 parent 1875398 commit 64517e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Command/generate/app.pm
Expand Up @@ -214,7 +214,8 @@ done_testing();
</p>
@@ config
% use Mojo::Util qw(md5_sum steady_time);
{
perldoc => 1,
secrets => ['s3cret']
secrets => ['<%= md5_sum $$ . steady_time . rand %>']
}

0 comments on commit 64517e9

Please sign in to comment.