Adds configuration options to `auth.disableLocalStrategy` to allow customization of how payload treats an auth enabled collection. Two new properties have been added to `disableLocalStrategy`: - `enableFields` Include auth fields on the collection even though the local strategy is disabled. Useful when you do not want the database or types to vary depending on the auth configuration used. - `optionalPassword`: makes the password field not required
9 lines
270 B
TypeScript
9 lines
270 B
TypeScript
export const slug = 'users'
|
|
export const apiKeysSlug = 'api-keys'
|
|
|
|
export const partialDisableLocaleStrategiesSlug = 'partial-disable-locale-strategies'
|
|
|
|
export const namedSaveToJWTValue = 'namedSaveToJWT value'
|
|
|
|
export const saveToJWTKey = 'x-custom-jwt-property-name'
|