Closed skorphil closed 3 months ago
Should we use generateId()
instead?
Should we use
generateId()
instead?
Didnt get it. You can just import generateIdFromEntropySize
and use it as the docs suggest.
Oh, haha. I misunderstood your issue. My issue was there was no generateIdFromEntropySize
to import from lucia
, so I was having to use generateId
instead. I later realized I wasn't on the latest version of lucia.
@andyrue yeah, I just meant the docs missing the necessary import. So it's typo for me.
Description
Here https://lucia-auth.com/tutorials/username-and-password/astro#:~:text=generateIdFromEntropySize there is no
import { generateIdFromEntropySize } from "lucia";