Skip to content

Commit

Permalink
[fix] 이메일 정보관리 방법 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
OH-GITAEK committed May 28, 2024
1 parent bb6398e commit 1037e77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/routers/userRouters.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ module.exports = router;
* get:
* summary: Check attendance for a user
* tags: [Users]
* security:
* - BearerAuth: []
* parameters:
* - in: path
* name: id
Expand Down
2 changes: 1 addition & 1 deletion config/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports.sendEmail = async(req, res)=>{
});

const mailOptions = {
from : "본인이메일작성",
from : process.env.USER,
to: email,
subject: "인증 관련 메일입니다",
text: "인증번호는 " + authNum + " 입니다."
Expand Down

0 comments on commit 1037e77

Please sign in to comment.