projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c060be
)
self-service access for contacts, RT#25533
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 29 Dec 2013 01:23:19 +0000
(17:23 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 29 Dec 2013 01:23:19 +0000
(17:23 -0800)
FS/FS/contact.pm
patch
|
blob
|
history
diff --git
a/FS/FS/contact.pm
b/FS/FS/contact.pm
index
b76f0d9
..
735fe13
100644
(file)
--- a/
FS/FS/contact.pm
+++ b/
FS/FS/contact.pm
@@
-62,6
+62,16
@@
title
comment
comment
+=item selfservice_access
+
+empty or Y
+
+=item _password
+
+=item _password_encoding
+
+empty or bcrypt
+
=item disabled
disabled
=item disabled
disabled
@@
-382,6
+392,9
@@
sub check {
|| $self->ut_namen('first')
|| $self->ut_textn('title')
|| $self->ut_textn('comment')
|| $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;
|| $self->ut_enum('disabled', [ '', 'Y' ])
;
return $error if $error;