aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-08-21 17:57:15 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-08-21 18:08:41 +0200
commit8a2d319476dbcd7840893616b1399658ddd71b27 (patch)
tree3630f61590e660dd5e6a9120f8445d096580180f /client
parentf9d5e53cac1c002e5983efc18e42f5a21444b182 (diff)
lacme: new option 'account --deactivate'
For client-initiated account deactivation. See RFC 8555 sec. 7.3.6.
Diffstat (limited to 'client')
-rwxr-xr-xclient1
1 files changed, 1 insertions, 0 deletions
diff --git a/client b/client
index b567516..2eebbf0 100755
--- a/client
+++ b/client
@@ -244,6 +244,7 @@ if ($COMMAND eq 'account') {
my %h = ( contact => \@ARGV ) if @ARGV;
$h{onlyReturnExisting} = Types::Serialiser::true unless $flags & 0x01;
$h{termsOfServiceAgreed} = Types::Serialiser::true if $flags & 0x02;
+ $h{status} = "deactivated" if $flags & 0x04;
print STDERR "Requesting new registration ".(@ARGV ? ("for ".join(', ', @ARGV)) : "")."\n"
if $flags & 0x01;