Token caching

This commit is contained in:
2026-02-10 16:17:29 +01:00
parent b4658f3279
commit 4fe26a23af
2 changed files with 31 additions and 18 deletions

View File

@@ -9,7 +9,8 @@ unlock() {
}
lock() {
rm -f "/tmp/git_bw_token_$USER"
bw lock > /dev/null
unset BW_SESSION
echo "🔒 Tresor gesperrt und Session gelöscht."
echo "🔒 Tresor gesperrt, Cache geleert und Session gelöscht."
}