From: Ivan Kohler Date: Sun, 29 Dec 2013 01:23:19 +0000 (-0800) Subject: self-service access for contacts, RT#25533 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5013b675230c3330f25ca0d12ec7dfab95653bcd self-service access for contacts, RT#25533 --- 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;