fix: remove user password from export user data (#1758)

This commit is contained in:
Carlos Quintana 2023-05-31 09:40:20 +02:00 committed by GitHub
parent ed66c7306b
commit d30183bbda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ from app.models import (
class ExportUserDataJob:
REMOVE_FIELDS = {
"User": ("otp_secret",),
"User": ("otp_secret", "password"),
"Alias": ("ts_vector", "transfer_token", "hibp_last_check"),
"CustomDomain": ("ownership_txt_token",),
}