Is it possible to verify a user with the localapi?
i know
const result = await payload.verify({
collection: "users", // required
token: "afh3o2jf2p3f...", // the token saved on the user as `_verificationToken`
});
but how can i access the _verificationToken?
ah got it, showHiddenFields: true was missing
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.