X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcontact.pm;h=735fe138f0ea8fd97f57807dc8717eef65d0eced;hb=5013b675230c3330f25ca0d12ec7dfab95653bcd;hp=b76f0d9acad24c5b98bb2c2cad07bd97e1f0d338;hpb=32072dbf59a054529f5304574c0f56f9567d14d0;p=freeside.git diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm index b76f0d9ac..735fe138f 100644 --- a/FS/FS/contact.pm +++ b/FS/FS/contact.pm @@ -62,6 +62,16 @@ title comment +=item selfservice_access + +empty or Y + +=item _password + +=item _password_encoding + +empty or bcrypt + =item disabled disabled @@ -382,6 +392,9 @@ sub check { || $self->ut_namen('first') || $self->ut_textn('title') || $self->ut_textn('comment') + || $self->ut_enum('selfservice_access', [ '', 'Y' ]) + || $self->ut_textn('_password') + || $self->ut_enum('_password_encoding', [ '', 'bcrypt']) || $self->ut_enum('disabled', [ '', 'Y' ]) ; return $error if $error;