Configuration/Setting module added
This commit is contained in:
parent
71279a968f
commit
bc58a6ed9c
11 changed files with 217 additions and 106 deletions
|
|
@ -29,11 +29,7 @@ def check_otp(name, realm, token):
|
|||
return 400
|
||||
|
||||
response = requests.post(
|
||||
"{OTP_SERVER}{OTP_VERIFY_ENDPOINT}".format(
|
||||
OTP_SERVER=config['otp']['server'],
|
||||
OTP_VERIFY_ENDPOINT=config['otp']['verify_endpoint']
|
||||
),
|
||||
json=data,
|
||||
config['otp']['verification_controller_url'], json=data
|
||||
)
|
||||
return response.status_code
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue