docs: add before login comments (#6101)

This commit is contained in:
Wilson
2024-05-01 15:59:11 -04:00
committed by GitHub
parent 26ee91eb48
commit b729b9bebd

View File

@@ -141,6 +141,10 @@ export const loginOperation = async <TSlug extends keyof GeneratedTypes['collect
user, user,
}) })
// /////////////////////////////////////
// beforeLogin - Collection
// /////////////////////////////////////
await collectionConfig.hooks.beforeLogin.reduce(async (priorHook, hook) => { await collectionConfig.hooks.beforeLogin.reduce(async (priorHook, hook) => {
await priorHook await priorHook