Skip to content

Commit

Permalink
fix(docs): fix docs package
Browse files Browse the repository at this point in the history
  • Loading branch information
Frantz Kati committed Dec 17, 2020
1 parent d8525c3 commit 7421935
Show file tree
Hide file tree
Showing 11 changed files with 269,708 additions and 100 deletions.
14 changes: 0 additions & 14 deletions packages/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1838,19 +1838,6 @@ class Auth {
}
}

if (this.config.verifyEmails && !this.config.skipWelcomeEmail) {
console.log(
// @ts-ignore
await ctx.mailer.use('mailtrap').send(message => {
message
.to('katifrantzvalliembiyekeh@gmail.com')
.from('bahdcoder@gmail.com')
.htmlView('users/register', ctx.user)
.subject('Welcome to Tensei')
})
)
}

return this.getUserPayload(ctx, await this.generateRefreshToken(ctx))
}

Expand Down Expand Up @@ -2281,7 +2268,6 @@ class Auth {

protected forgotPassword = async ({
body,
mailer,
manager,
userInputError
}: ApiContext) => {
Expand Down
Loading

0 comments on commit 7421935

Please sign in to comment.