Support hvac 1.0.0
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2022-10-27 12:56:55 -07:00
parent c7ad85b6c6
commit b1cbe02cc8
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ def login():
elif request.method == "POST":
client = Client(VAULT_ADDR)
username, password = request.form["username"], request.form["password"]
client.auth_userpass(username, password)
client.auth.userpass.login(username, password)
assert client.is_authenticated()
role = request.form.get("role")

View File

@ -1,2 +1,2 @@
flask
hvac<1.0.0
hvac>=1.0.0