refactor: remove PGP encryption usage for user email and secrets
Eliminated PGP encryption for `email` and `twoFactorSecret` fields in `users` schema to simplify handling of sensitive data. Since abstraction in schemas.
This commit is contained in:
@@ -36,7 +36,6 @@ export class MediaService {
|
||||
|
||||
private async initClamScan() {
|
||||
try {
|
||||
// @ts-expect-error
|
||||
const scanner = await new NodeClam().init({
|
||||
clamdscan: {
|
||||
host: this.configService.get<string>("CLAMAV_HOST", "localhost"),
|
||||
|
||||
Reference in New Issue
Block a user