Skip to content

Commit

Permalink
fix(database): add resetPasswordTokens schema validation in checkDbAn…
Browse files Browse the repository at this point in the history
…dTables method
  • Loading branch information
adrienZ committed Oct 3, 2024
1 parent 871cdb8 commit d6066b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/core/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export class SlipAuthCore {
checker.checkTableWithSchema(this.#tableNames.sessions, this.schemas.sessions),
checker.checkTableWithSchema(this.#tableNames.oauthAccounts, this.schemas.oauthAccounts),
checker.checkTableWithSchema(this.#tableNames.emailVerificationCodes, this.schemas.emailVerificationCodes),
checker.checkTableWithSchema(this.#tableNames.resetPasswordTokens, this.schemas.resetPasswordTokens),
]).then(results => results.every(Boolean));
}

Expand Down

0 comments on commit d6066b9

Please sign in to comment.