I have to go to bed now
This commit is contained in:
parent
25f3844184
commit
a8bb0049d3
13
assets/js/captcha.js
Normal file
13
assets/js/captcha.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
'use strict';
|
||||
|
||||
document.getElementById('captcha').value =
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
let captchaValue =
|
||||
document
|
||||
.querySelector('label[for="captcha"]')
|
||||
.textContent
|
||||
.match(/'(flag|bump)'/)[1];
|
2
cpanfile
2
cpanfile
|
@ -4,10 +4,10 @@ requires 'Mojolicious::Plugin::TagHelpers::Pagination';
|
|||
requires 'Mojolicious::Plugin::AssetPack';
|
||||
requires 'Crypt::Passphrase::Argon2';
|
||||
requires 'Crypt::Passphrase::Bcrypt'; # Needed for old passphrases
|
||||
#requires 'Perl::Critic::Community';
|
||||
requires 'Date::Format';
|
||||
requires 'XML::RSS';
|
||||
requires 'CSS::Minifier::XS';
|
||||
requires 'Text::Markdown';
|
||||
requires 'HTML::Restrict';
|
||||
requires 'IO::Socket::SSL';
|
||||
requires 'JavaScript::Minifier::XS';
|
||||
|
|
|
@ -16,7 +16,7 @@ use PostText::Model::Moderator;
|
|||
sub startup($self) {
|
||||
$self->plugin('Config');
|
||||
$self->plugin('TagHelpers::Pagination');
|
||||
$self->plugin(AssetPack => {pipes => [qw{Css Combine}]});
|
||||
$self->plugin(AssetPack => {pipes => [qw{Css JavaScript Combine}]});
|
||||
|
||||
# Helpers
|
||||
$self->helper(pg => sub ($c) {
|
||||
|
|
Loading…
Reference in a new issue