Skip to content

Commit

Permalink
🔐 Encrypt SMTP pass for user management backend (#2793)
Browse files Browse the repository at this point in the history
* 📦 Add crypto-js to /cli

* 📦 Update package-lock.json

* ✨ Create type for SMTP config

* ⚡ Encrypt SMTP pass

* ⚡ Update format for `userManagement.emails.mode`

* ⚡ Update format for `binaryDataManager.mode`

* ⚡ Update format for `logs.level`

* 🔥 Remove logging

* 👕 Fix lint
  • Loading branch information
ivov authored Feb 11, 2022
1 parent 9a970c9 commit e57368f
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 131 deletions.
277 changes: 159 additions & 118 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/cli/commands/Interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@ declare module 'json-diff' {
}
export function diff(obj1: unknown, obj2: unknown, diffOptions: IDiffOptions): string;
}

type SmtpConfig = {
host: string;
port: number;
secure: boolean;
auth: {
user: string;
pass: string;
};
sender: string;
};
Loading

0 comments on commit e57368f

Please sign in to comment.