Skip to content

Commit

Permalink
mention that the secret needs to be encoded (closes #817)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 6, 2015
1 parent 043bcaa commit d1be31a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.13 2015-07-05
6.13 2015-07-06
- Improved error messages for broken applications in Mojo::Server. (mst)
- Improved subscribers method in Mojo::EventEmitter to allow subscribers to be
modified more easily.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -459,7 +459,7 @@ startup method to define the url endpoints for your application.
=head2 secrets
my $secrets = $app->secrets;
$app = $app->secrets(['passw0rd']);
$app = $app->secrets([$bytes]);
Secret passphrases used for signed cookies and the like, defaults to the
L</"moniker"> of this application, which is not very secure, so you should
Expand Down

3 comments on commit d1be31a

@s1037989
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does $bytes indicate that the secret needs to be encoded?

@kraih
Copy link
Member Author

@kraih kraih commented on d1be31a Jul 6, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is our convention for documenting binary data.

@s1037989
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! Thanks!

Please sign in to comment.