Update totp.sh

This commit is contained in:
2023-09-13 20:56:52 +00:00
parent f81a550832
commit f96e1c474f

View File

@@ -3,11 +3,13 @@
addsecret() {
read -p "Insert secret GUID: " SECRET
read -p "Insert secret name: " SECRETNAME
echo "#####################################"
docker exec -it totp-docker totp config update $SECRETNAME $SECRET
}
getcode() {
read -p "Insert secret name: " SECRETNAME
echo "#####################################"
docker exec -it totp-docker totp $SECRETNAME
}