We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea1188d commit b1faf2eCopy full SHA for b1faf2e
lib/VWF/Display.pm
@@ -608,7 +608,7 @@ sub _types
608
609
sub _generate_csrf_token($self) {
610
my $timestamp = time();
611
- my $random = sprintf("%08x", int(rand(0xFFFFFFFF)));
+ my $random = sprintf('%08x', int(rand(0xFFFFFFFF)));
612
my $secret = $self->{config}->{security}->{csrf_secret} // 'default_secret';
613
614
my $token_data = "$timestamp:$random";
0 commit comments