Configurable bcrypt_cost, added TODO
This commit is contained in:
parent
6da98c996c
commit
20f50780c3
|
@ -33,6 +33,7 @@ Run the tests locally (against development environment):
|
|||
## TODOs
|
||||
|
||||
1. Some sort of admin/moderator login and view
|
||||
1. Implement tripcodes
|
||||
1. CSS
|
||||
|
||||
## Crazy future ideas
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
remarks_per_page => 5,
|
||||
secrets => ['t0p_s3cr3t'],
|
||||
tripcode_salt => 't0p_s3cr3t',
|
||||
bcrypt_cost => 14,
|
||||
development => {
|
||||
pg_string =>
|
||||
'postgresql://post_text:t0p_s3cr3t@127.0.0.1/post_text'
|
||||
|
|
|
@ -11,7 +11,7 @@ sub startup($self) {
|
|||
$self->plugin('Config');
|
||||
$self->plugin('TagHelpers::Pagination');
|
||||
$self->plugin(AssetPack => {pipes => [qw{Css Combine}]});
|
||||
$self->plugin('BcryptSecure');
|
||||
$self->plugin('BcryptSecure', {cost => $self->config->{'bcrypt_cost'}});
|
||||
|
||||
# Helpers
|
||||
$self->helper(pg => sub ($c) {
|
||||
|
|
Loading…
Reference in a new issue