mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-28 16:08:31 +08:00
Use default quota for users instead of 0
This commit is contained in:
parent
90550226c0
commit
255ea6e816
1 changed files with 1 additions and 1 deletions
2
api.js
2
api.js
|
@ -36,7 +36,7 @@ server.post('/user/create', (req, res, next) => {
|
|||
const schema = Joi.object().keys({
|
||||
username: Joi.string().alphanum().lowercase().min(3).max(30).required(),
|
||||
password: Joi.string().min(3).max(100).required(),
|
||||
quota: Joi.number().default(0)
|
||||
quota: Joi.number().default(config.imap.maxStorage * (1024 * 1024))
|
||||
});
|
||||
|
||||
const result = Joi.validate({
|
||||
|
|
Loading…
Add table
Reference in a new issue