Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same token be generated over and over
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat git-svn-id: svn://10.0.0.236/trunk@256062 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -188,7 +188,7 @@ EOT
|
||||
},
|
||||
{
|
||||
name => 'site_wide_secret',
|
||||
default => generate_random_password(256),
|
||||
default => sub { generate_random_password(256) },
|
||||
desc => <<EOT
|
||||
# This secret key is used by your installation for the creation and
|
||||
# validation of encrypted tokens to prevent unsolicited changes,
|
||||
|
||||
Reference in New Issue
Block a user