fix: afterLogin hook write conflicts (#4904)

* fix: afterLogin hook conflict

* test: afterLogin hook returns for assertion

* chore: commit increment login attempt
This commit is contained in:
Dan Ribbens
2024-01-26 13:39:45 -05:00
committed by GitHub
parent cb4638cfa1
commit 3eb681e847
7 changed files with 64 additions and 35 deletions

View File

@@ -4,10 +4,10 @@ import { usersCollectionSlug } from '../slugs'
export const Users: CollectionConfig = {
slug: usersCollectionSlug,
auth: true,
admin: {
useAsTitle: 'email',
},
auth: true,
fields: [
{
name: 'textField',