OSDN Git Service
(root)
/
newslash
/
newslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e747735
)
Newslash::Web: enable ReCaptcha plugin in test mode
author
hylom
<hylom@users.sourceforge.jp>
Fri, 24 Aug 2018 12:32:15 +0000
(21:32 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Fri, 24 Aug 2018 12:32:15 +0000
(21:32 +0900)
src/newslash_web/lib/Newslash/Web.pm
patch
|
blob
|
history
diff --git
a/src/newslash_web/lib/Newslash/Web.pm
b/src/newslash_web/lib/Newslash/Web.pm
index
ee5f807
..
3dc2259
100644
(file)
--- a/
src/newslash_web/lib/Newslash/Web.pm
+++ b/
src/newslash_web/lib/Newslash/Web.pm
@@
-154,9
+154,7
@@
sub startup {
$app->plugin('Newslash::Plugin::AccessControl');
# ReCaptcha control
- if ($app->mode ne 'test') {
- $app->plugin('Newslash::Plugin::ReCaptcha');
- }
+ $app->plugin('Newslash::Plugin::ReCaptcha');
# set canocal (for test.srad.jp)
$app->plugin('Newslash::Plugin::Canonical');