forked from uncloud/uncloud
otp verification endpoint corrected
This commit is contained in:
parent
db7fcdd66f
commit
46c14306ec
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def check_otp(name, realm, token):
|
|||
response = requests.post(
|
||||
"{OTP_SERVER}{OTP_VERIFY_ENDPOINT}".format(
|
||||
OTP_SERVER=env_vars.get("OTP_SERVER", ""),
|
||||
OTP_VERIFY_ENDPOINT=env_vars.get("OTP_VERIFY_ENDPOINT", "verify"),
|
||||
OTP_VERIFY_ENDPOINT=env_vars.get("OTP_VERIFY_ENDPOINT", "verify/"),
|
||||
),
|
||||
json=data,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue