Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
voldemortensen committed Dec 5, 2023
1 parent ec5ea04 commit 338a97d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions hvac/api/auth_methods/okta.py
Expand Up @@ -297,7 +297,12 @@ def delete_group(self, name, mount_point=DEFAULT_MOUNT_POINT):
)

def login(
self, username, password, use_token=True, mount_point=DEFAULT_MOUNT_POINT, totp=None
self,
username,
password,
use_token=True,
mount_point=DEFAULT_MOUNT_POINT,
totp=None,
):
"""Login with the username and password.
Expand All @@ -322,7 +327,7 @@ def login(
"username": username,
"password": password,
}
if (totp is not None):
if totp is not None:
params["totp"] = totp
api_path = utils.format_url(
"/v1/auth/{mount_point}/login/{username}",
Expand Down

0 comments on commit 338a97d

Please sign in to comment.