summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/access_user.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/access_user.html')
-rw-r--r--httemplate/edit/process/access_user.html10
1 files changed, 0 insertions, 10 deletions
diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html
index 8e7e70a..e6258a9 100644
--- a/httemplate/edit/process/access_user.html
+++ b/httemplate/edit/process/access_user.html
@@ -10,7 +10,6 @@
'process_m2m' => { 'link_table' => 'access_usergroup',
'target_table' => 'access_group',
},
- 'precheck_callback'=> \&precheck_callback,
)
%>
% }
@@ -24,13 +23,4 @@ if ( FS::Conf->new->exists('disable_acl_changes') ) {
die "shouldn't be reached";
}
-sub precheck_callback {
- my $cgi = shift;
- my $o = FS::access_user->new({username => $cgi->param('username')});
- if( $o->is_system_user and !$cgi->param('usernum') ) {
- $cgi->param('username','');
- return "username '".$o->username."' reserved for system account."
- }
- return '';
-}
</%init>