projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update Changes
[spider.git]
/
cmd
/
unset
/
passphrase.pl
diff --git
a/cmd/unset/passphrase.pl
b/cmd/unset/passphrase.pl
index 213e4f92a676baffc1d09382aa2ee1c104b78f7a..15ef58d114f7f4d7f3c6d7439ec7d5c3abcbbc0b 100644
(file)
--- a/
cmd/unset/passphrase.pl
+++ b/
cmd/unset/passphrase.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 passphrase for @args remotely");
return (1, $self->msg('e5'));
}
Log('DXCommand', $self->call . " attempted to unset passphrase 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_passphrase;
$ref->put();
push @out, $self->msg("passphraseu", $call);
$ref->unset_passphrase;
$ref->put();
push @out, $self->msg("passphraseu", $call);