rename pass_mgr to secret-mgr
This commit is contained in:
@@ -57,11 +57,11 @@ if ! is_git_repo "$REPO_PATH"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
USER="$(pass_mgr get-username --key git)"
|
||||
PASS="$(pass_mgr get-secret --key git)"
|
||||
USER="$(secret-mgr get-username --key git)"
|
||||
PASS="$(secret-mgr get-secret --key git)"
|
||||
|
||||
if [[ -z "$USER" || -z "$PASS" ]]; then
|
||||
echo "Missing credentials from pass_mgr (key: git)"
|
||||
echo "Missing credentials from secret-mgr (key: git)"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user