Customize validation on df sys objects?

Hi,

I’m using Open Registration on my DSP. I created an app that allows user to register through the API. One issue I encountered is on the Display Name field. It seems to not allow duplicate entries. Is there a way to modify this validation to allow 2 different users having the same Display Name?

Thanks,
Allen

Display Name is set as unique in the code, with no options to override programmatically. If you are interested in editing the source code, the User model is locate in the file

vendor/dreamfactory/lib-php-common-platform/src/Yii/Models/User.php

You’ll want to look around line 132.

Please note that if you are editing the source code of your DreamFactory instance you may solve your problem or you may be generating new unsupported problems. Usual caveats apply.

One additional point of note – the unique display names limitation will be removed in version 2.

Thanks.

I’ll just wait for version 2.

Regards,
Allen