From 087f74073fdc81ec5707f2989c99b34770e864eb Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 26 May 2015 23:35:45 +0100 Subject: Bug 1165355: sanitizeme.pl script should remove webservice api keys from database to remove sensitive information --- contrib/sanitizeme.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib') diff --git a/contrib/sanitizeme.pl b/contrib/sanitizeme.pl index be1fc9706..af0c167bf 100755 --- a/contrib/sanitizeme.pl +++ b/contrib/sanitizeme.pl @@ -192,6 +192,7 @@ sub delete_sensitive_user_data { # Remove sensitive user account data. print "Deleting sensitive user account data...\n"; $dbh->do("UPDATE profiles SET cryptpassword = 'deleted'") unless $keep_passwords; + $dbh->do("DELETE FROM user_api_keys"); $dbh->do("DELETE FROM profiles_activity"); $dbh->do("DELETE FROM profile_search"); $dbh->do("DELETE FROM namedqueries"); -- cgit v1.2.3-24-g4f1b