From 46c14306ec79a806dcf9cbce7b5af81f703f3847 Mon Sep 17 00:00:00 2001 From: meow Date: Wed, 27 Nov 2019 22:20:33 +0500 Subject: [PATCH] otp verification endpoint corrected --- api/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/helper.py b/api/helper.py index eb32373..ed3ea28 100755 --- a/api/helper.py +++ b/api/helper.py @@ -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, )