otp verification endpoint corrected

This commit is contained in:
ahmadbilalkhalid 2019-11-27 22:20:33 +05:00
parent db7fcdd66f
commit 46c14306ec
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def check_otp(name, realm, token):
response = requests.post( response = requests.post(
"{OTP_SERVER}{OTP_VERIFY_ENDPOINT}".format( "{OTP_SERVER}{OTP_VERIFY_ENDPOINT}".format(
OTP_SERVER=env_vars.get("OTP_SERVER", ""), 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, json=data,
) )