Use SMTP credentials instead of Gmail auth for Email

This commit is contained in:
Ahmed Al-Taiar
2024-10-16 21:36:57 -04:00
parent bac5b5fe48
commit 6540329f36
7 changed files with 35 additions and 20 deletions

View File

@ -10,7 +10,7 @@ export default async () => {
const admin = {
username: 'admin',
email: process.env.GMAIL,
password: process.env.GMAIL_SMTP_PASSWORD,
password: process.env.SMTP_PASSWORD,
}
const [hashedPassword, salt] = hashPassword(admin.password)