Skip to content

Commit

Permalink
revert email
Browse files Browse the repository at this point in the history
  • Loading branch information
mudroljub committed Dec 17, 2024
1 parent eb49407 commit c0fc05a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/services/AuthService.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ const createToken = (id, privilege) => {

const sendToken = user => {
const transporter = nodemailer.createTransport({
host: 'smtp.gmail.com',
port: 587, // Preporučeni port za TLS
secure: false, // Za TLS, postavi na false
service: 'gmail',
auth: {
user: '[email protected]',
pass: process.env.EMAIL_PASSWORD
Expand Down

0 comments on commit c0fc05a

Please sign in to comment.