X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fpassword.pl;h=1c248d023576fc8bac0cc9cee1fb288b3bc361b2;hb=5b803645eaf1a462937d7cde0e9459f1a6d3f10e;hp=1aa425f610686a229cce343e06e01af1fd6d4e8b;hpb=6aca4e461103870de99b0ce452f21cf7fedeb54b;p=spider.git diff --git a/cmd/set/password.pl b/cmd/set/password.pl index 1aa425f6..1c248d02 100644 --- a/cmd/set/password.pl +++ b/cmd/set/password.pl @@ -19,6 +19,7 @@ return (1, $self->msg('e5')) if $self->priv < 9; if ($ref = DXUser->get_current($call)) { $line =~ s/^\s*$call\s+//; $line =~ s/\s+//og; # remove any blanks + $line =~ s/[{}]//g; # no braces allowed $ref->passwd($line); $ref->put(); push @out, $self->msg("password", $call);