gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] 01/02: test CLI password change


From: gnunet
Subject: [libeufin] 01/02: test CLI password change
Date: Tue, 26 Jan 2021 17:19:26 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

commit 58181b7702db1d082e772d85197a36c1fd6bf706
Author: MS <ms@taler.net>
AuthorDate: Tue Jan 26 17:01:27 2021 +0100

    test CLI password change
---
 cli/bin/libeufin-cli  | 3 +--
 cli/setup-template.sh | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 7ae7237..10ca2f4 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -87,7 +87,6 @@ def list_users(obj):
 
 
 @users.command(help="Change user's password")
-@click.argument("username")
 @click.option(
     "--new-password",
     help="New password",
@@ -96,7 +95,7 @@ def list_users(obj):
     confirmation_prompt=True,
 )
 @click.pass_obj
-def change_password(obj, username, new_password):
+def change_password(obj, new_password):
     url = urljoin(obj.nexus_base_url, f"/users/password")
     try:
         body = dict(newPassword=new_password)
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 09e93b0..511850f 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -105,7 +105,7 @@ libeufin-cli \
 # Bootstrapping such connection.
 echo Bootstrapping the bank connection
 libeufin-cli \
-  connections sync $NEXUS_BANK_CONNECTION_NAME
+  connections connect $NEXUS_BANK_CONNECTION_NAME
 
 # Download bank accounts.
 echo Download bank accounts
@@ -125,7 +125,7 @@ cat << EOF
 Bank connection name: $(tput bold)$NEXUS_BANK_CONNECTION_NAME$(tput sgr0)
 Bank account, imported name: $(tput bold)$ACCOUNT_NAME_AT_NEXUS$(tput sgr0)
 Bank account, native name: $(tput bold)$ACCOUNT_NAME$(tput sgr0)
-env-setter: $(tput bold)export NEXUS_BASE_URL=http://localhost:5001/ 
NEXUS_USERNAME=$NEXUS_USER NEXUS_PASSWORD=$NEXUS_PASSWORD 
LIBEUFIN_SANDBOX_URL=$SANDBOX_URL$(tput sgr0)
+env-setter: $(tput bold)export LIBEUFIN_NEXUS_URL=http://localhost:5001/ 
LIBEUFIN_NEXUS_USERNAME=$NEXUS_USER LIBEUFIN_NEXUS_PASSWORD=$NEXUS_PASSWORD 
LIBEUFIN_SANDBOX_URL=$SANDBOX_URL$(tput sgr0)
 
 EOF
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]