summaryrefslogtreecommitdiff
path: root/FS/FS/contact.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-28 17:23:19 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-28 17:23:19 -0800
commit5013b675230c3330f25ca0d12ec7dfab95653bcd (patch)
treecb492e46333ba24bff39b69c1717c8e52434ea26 /FS/FS/contact.pm
parent8c060beae4c9fa56bc9f84930e96d8e88b5b8c99 (diff)
self-service access for contacts, RT#25533
Diffstat (limited to 'FS/FS/contact.pm')
-rw-r--r--FS/FS/contact.pm13
1 files changed, 13 insertions, 0 deletions
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;