diff options
author | ivan <ivan> | 2004-01-30 03:06:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-01-30 03:06:05 +0000 |
commit | 7ed0299ebb7a52996f78a853a8c74b066802f6f0 (patch) | |
tree | 09d04ba4155f1c39b8878b4c14f7aaab9e664897 | |
parent | 66ab62759263aee7038dd47ca6f883b70e86ada1 (diff) |
don't prepend *SUSPENDED* to passwords to suspend an account
-rw-r--r-- | FS/FS/svc_acct.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index e7812bfe5..8c99c9e48 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -630,16 +630,6 @@ Calls any export-specific suspend hooks. sub suspend { my $self = shift; return "can't suspend system account" if $self->_check_system; - my %hash = $self->hash; - unless ( $hash{_password} =~ /^\*SUSPENDED\* / - || $hash{_password} eq '*' - ) { - $hash{_password} = '*SUSPENDED* '.$hash{_password}; - my $new = new FS::svc_acct ( \%hash ); - my $error = $new->replace($self); - return $error if $error; - } - $self->SUPER::suspend; } |