Hardened secure tripcode?
This commit is contained in:
parent
d234c014f0
commit
699279d84a
@ -1973,7 +1973,7 @@ function generate_tripcode($name) {
|
|||||||
if (isset($config['custom_tripcode']["##{$trip}"]))
|
if (isset($config['custom_tripcode']["##{$trip}"]))
|
||||||
$trip = $config['custom_tripcode']["##{$trip}"];
|
$trip = $config['custom_tripcode']["##{$trip}"];
|
||||||
else
|
else
|
||||||
$trip = '!!' . substr(crypt($trip, $config['secure_trip_salt']), -10);
|
$trip = '!!' . substr(crypt($trip, $salt . $config['secure_trip_salt']), -10);
|
||||||
} else {
|
} else {
|
||||||
if (isset($config['custom_tripcode']["#{$trip}"]))
|
if (isset($config['custom_tripcode']["#{$trip}"]))
|
||||||
$trip = $config['custom_tripcode']["#{$trip}"];
|
$trip = $config['custom_tripcode']["#{$trip}"];
|
||||||
|
Loading…
Reference in New Issue
Block a user