-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: allow password to be mutated by hooks (#7537)
Fixes #7531 Allows passwords to be updated in hooks.
- Loading branch information
1 parent
7f39afa
commit 2c2ffe4
Showing
3 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { CollectionConfig } from '../../../../packages/payload/src/collections/config/types' | ||
|
||
export const usersSlug = 'users' | ||
|
||
export const UsersCollection: CollectionConfig = { | ||
fields: [], | ||
auth: true, | ||
slug: usersSlug, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters