Error when logging in: The "salt" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined #163
TypeError [ERR_INVALID_ARG_TYPE]: The "salt" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined
at check (node:internal/crypto/pbkdf2:93:10)
at Object.pbkdf2Sync (node:internal/crypto/pbkdf2:70:5)
at checkPasswordForUser (webpack-internal:///(api)/./src/lib/api/account/accountManagement.ts:74:62)
at findUserByCredentials (webpack-internal:///(api)/./src/lib/api/account/accountManagement.ts:100:26)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
To Reproduce
Start a standard vulcan app
Go to the login page
Log in with the default admin credentials from .env.development
Describe the bug
When I try to log in with the default admin user at http://localhost:3000/account/login, I get the following error
To Reproduce
Expected behavior I expected to be logged in
Screenshots (if applicable)
Desktop (if applicable):