Update totp.sh
This commit is contained in:
3
totp.sh
3
totp.sh
@@ -3,13 +3,12 @@
|
||||
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 "#####################################"
|
||||
echo "Generated code:"
|
||||
docker exec -it totp-docker totp $SECRETNAME
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user