diff --git a/docs/docs/how-to/dbauth-passwordless.md b/docs/docs/how-to/dbauth-passwordless.md index f8e092e15e8f..e4c230c3d7b4 100644 --- a/docs/docs/how-to/dbauth-passwordless.md +++ b/docs/docs/how-to/dbauth-passwordless.md @@ -59,7 +59,8 @@ Now that you have the file, let's add the `generateToken` function. ```javascript {21} title="/api/src/services/users/users.js" // add this import to the top of the file -import { hashPassword } from "@redwoodjs/auth-dbauth-api" +import CryptoJS from 'crypto-js' +import { hashPassword } from '@redwoodjs/auth-dbauth-api' // add this to the bottom of the file export const generateLoginToken = async ({ email }) => { try {