projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sigh, even more warnings
[spider.git]
/
cmd
/
unset
/
password.pl
diff --git
a/cmd/unset/password.pl
b/cmd/unset/password.pl
index 6fdc92576e9e3ff27d4496289cd4edcf4e8f1813..0a844ca7340a6cd80002753912449d710f562352 100644
(file)
--- a/
cmd/unset/password.pl
+++ b/
cmd/unset/password.pl
@@
-12,7
+12,7
@@
my @out;
my $user;
my $ref;
my $user;
my $ref;
-if ($self->remotecmd) {
+if ($self->remotecmd
|| $self->inscript
) {
Log('DXCommand', $self->call . " attempted to unset password for @args remotely");
return (1, $self->msg('e5'));
}
Log('DXCommand', $self->call . " attempted to unset password for @args remotely");
return (1, $self->msg('e5'));
}
@@
-24,7
+24,7
@@
if ($self->priv < 9) {
for (@args) {
my $call = uc $_;
for (@args) {
my $call = uc $_;
- if ($ref = DXUser
->
get_current($call)) {
+ if ($ref = DXUser
::
get_current($call)) {
$ref->unset_passwd;
$ref->put();
push @out, $self->msg("passwordu", $call);
$ref->unset_passwd;
$ref->put();
push @out, $self->msg("passwordu", $call);