Skip to content

Commit b32a4e3

Browse files
committed
Cover default over_max_bytesize_param_value method
1 parent 506caa4 commit b32a4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rodauth_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
rodauth do
4343
enable :login
4444
over_max_bytesize_param_value do |_, v|
45-
v[0, 15] if over_max
45+
over_max ? v[0, 15] : super(_, v)
4646
end
4747
end
4848
roda do |r|

0 commit comments

Comments
 (0)