Skip to content

Commit

Permalink
Fixed Username encode when has symbols #3
Browse files Browse the repository at this point in the history
  • Loading branch information
macarthuror committed Dec 28, 2019
1 parent 0e116d5 commit d3864da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var SmtpMailAdapter = mailOptions => {
var sendMail = mail => {
let link = mail.text.split("it:\n")[1];
let appName = mail.subject.split("for ")[1];
let username = mail.text.split("username=")[1];
let username = decodeURIComponent(mail.text.split("username=")[1]);
var filePath = "";
var template = "";
const confirmOptions = mailOptions.confirmOptions || {};
Expand Down

0 comments on commit d3864da

Please sign in to comment.