docs: add disableOnInit

This commit is contained in:
Elliot DeNolf
2023-09-28 16:03:40 -04:00
parent 33aac93c6e
commit f723b0e0e9

View File

@@ -123,6 +123,10 @@ In contrast to running MongoDB locally, a popular option is to sign up for a fre
Customize MongoDB connection options. Payload will connect to your MongoDB database using default options which you can override and extend to include all the [options](https://mongoosejs.com/docs/connections.html#options) available to mongoose.
##### `disableOnInit`
A boolean that disables running your `onInit` function when Payload starts up.
##### `email`
An object used to configure SMTP. [Read more](/docs/email/overview).