diff --git a/server/src/models/User.ts b/server/src/models/User.ts index 06de1d26..6664f381 100644 --- a/server/src/models/User.ts +++ b/server/src/models/User.ts @@ -60,13 +60,6 @@ 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'); - // } - // }, - // }, }, proxy_password: { type: DataTypes.STRING,