Skip to content

Commit

Permalink
mention that secrets should be changed early
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 25, 2016
1 parent fc2b337 commit 9fee9a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Mojolicious/Guides/FAQ.pod
Expand Up @@ -218,7 +218,9 @@ use the C<MOJO_REACTOR> environment variable to enforce a more portable one.
L<Mojolicious> uses secret passphrases for security features such as signed
cookies. It defaults to using L<Mojolicious/"moniker">, which is not very
secure, so we added this log message as a reminder. You can change the
passphrase with the attribute L<Mojolicious/"secrets">.
passphrase with the attribute L<Mojolicious/"secrets">. Since some plugins also
depend on it, you should try changing it as early as possible in your
application.

$app->secrets(['My very secret passphrase.']);

Expand Down

0 comments on commit 9fee9a7

Please sign in to comment.