diff --git a/server/src/models/User.ts b/server/src/models/User.ts index 2bb465d2..c8d6884e 100644 --- a/server/src/models/User.ts +++ b/server/src/models/User.ts @@ -61,13 +61,13 @@ User.init( proxy_username: { type: DataTypes.STRING, allowNull: true, - validate: { - isProxyPasswordRequired(value: string | null) { - if (value && !this.proxy_password) { - throw new Error('Proxy password is required when proxy username is provided'); - } - }, - }, + // validate: { + // isProxyPasswordRequired(value: string | null) { + // if (value && !this.proxy_password) { + // throw new Error('Proxy password is required when proxy username is provided'); + // } + // }, + // }, }, proxy_password: { type: DataTypes.STRING,