summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Misc
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-01 14:53:13 +0200
committerYorhel <git@yorhel.nl>2019-10-01 14:53:21 +0200
commit9f5d85706c04bda063dfb2a7c47bfaa8fca26eb4 (patch)
treefed6047fc225194eb62a59f828ff9fa7f277299b /lib/VNWeb/Misc
parent0ee5f7e30f9ba10fdd870117d410c80f3e0a6c4a (diff)
v2rw: Convert registration, account activation and password reset
This is largely copy-paste from v3.
Diffstat (limited to 'lib/VNWeb/Misc')
-rw-r--r--lib/VNWeb/Misc/History.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Misc/History.pm b/lib/VNWeb/Misc/History.pm
index bb568c07..401a77aa 100644
--- a/lib/VNWeb/Misc/History.pm
+++ b/lib/VNWeb/Misc/History.pm
@@ -118,7 +118,7 @@ sub filters_ {
r => { required => 0, default => 0, enum => [ 0, 1 ] }, # Include releases
p => { page => 1 },
}});
- my $filt = tuwf->validate(get => $schema)->data;
+ my $filt = eval { tuwf->validate(get => $schema)->data } || tuwf->pass;
$filt->{m} //= $type ? 0 : 1; # Exclude automated edits by default on the main 'recent changes' view.