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
|
## TODOs
|
||||||
|
|
||||||
1. Some sort of admin/moderator login and view
|
1. Some sort of admin/moderator login and view
|
||||||
|
1. Implement tripcodes
|
||||||
1. CSS
|
1. CSS
|
||||||
|
|
||||||
## Crazy future ideas
|
## Crazy future ideas
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
remarks_per_page => 5,
|
remarks_per_page => 5,
|
||||||
secrets => ['t0p_s3cr3t'],
|
secrets => ['t0p_s3cr3t'],
|
||||||
tripcode_salt => 't0p_s3cr3t',
|
tripcode_salt => 't0p_s3cr3t',
|
||||||
|
bcrypt_cost => 14,
|
||||||
development => {
|
development => {
|
||||||
pg_string =>
|
pg_string =>
|
||||||
'postgresql://post_text:t0p_s3cr3t@127.0.0.1/post_text'
|
'postgresql://post_text:t0p_s3cr3t@127.0.0.1/post_text'
|
||||||
|
|
|
@ -11,7 +11,7 @@ sub startup($self) {
|
||||||
$self->plugin('Config');
|
$self->plugin('Config');
|
||||||
$self->plugin('TagHelpers::Pagination');
|
$self->plugin('TagHelpers::Pagination');
|
||||||
$self->plugin(AssetPack => {pipes => [qw{Css Combine}]});
|
$self->plugin(AssetPack => {pipes => [qw{Css Combine}]});
|
||||||
$self->plugin('BcryptSecure');
|
$self->plugin('BcryptSecure', {cost => $self->config->{'bcrypt_cost'}});
|
||||||
|
|
||||||
# Helpers
|
# Helpers
|
||||||
$self->helper(pg => sub ($c) {
|
$self->helper(pg => sub ($c) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user