Update totp.sh
This commit is contained in:
2
totp.sh
2
totp.sh
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user