mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-24 18:41:55 +00:00
remove LICENCE,VERSION and devel prints
This commit is contained in:
parent
8e89c8f622
commit
efda4b4ef7
@ -254,11 +254,6 @@ def authentication_response(request, username, APP_RELYING_PARTY, APP_ORIGIN):
|
||||
credential_model = User.get_credential(credential_id=None, username=username)
|
||||
if not credential_model:
|
||||
raise Exception("No credential for user")
|
||||
|
||||
try:
|
||||
print(request)
|
||||
except Exception:
|
||||
raise Exception("Could not parse input data")
|
||||
|
||||
verification = verify_authentication_response(
|
||||
credential=request,
|
||||
@ -270,7 +265,7 @@ def authentication_response(request, username, APP_RELYING_PARTY, APP_ORIGIN):
|
||||
require_user_verification = True
|
||||
|
||||
)
|
||||
print(verification)
|
||||
|
||||
return {"verified": True}
|
||||
|
||||
class RpEntity(object):
|
||||
@ -341,7 +336,6 @@ def handle_api_request(url, env, start_response, username, cfm, headers, reqbody
|
||||
username = username.encode('utf8')
|
||||
rsp = registration_response(req, username, APP_RELYING_PARTY, APP_ORIGIN)
|
||||
if rsp.get('verified', False):
|
||||
print('worked out')
|
||||
start_response('200 OK', headers)
|
||||
yield json.dumps({'status': 'Success'})
|
||||
|
||||
|
@ -27,7 +27,7 @@ Requires: python3-pyghmi >= 1.5.71, python3-eventlet, python3-greenlet, python3-
|
||||
%if "%{dist}" == ".el9"
|
||||
Requires: python3-pyghmi >= 1.5.71, python3-eventlet, python3-greenlet, python3-pycryptodomex >= 3.4.7, confluent_client == %{version}, python3-pyparsing, python3-paramiko, python3-dns, python3-webauthn, python3-netifaces, python3-pyasn1 >= 0.2.3, python3-pysnmp >= 4.3.4, python3-lxml, python3-eficompressor, python3-setuptools, python3-dateutil, python3-cffi, python3-pyOpenSSL, python3-websocket-client python3-msgpack python3-libarchive-c python3-yaml openssl iproute
|
||||
%else
|
||||
Requires: python3-dbm,python3-pyghmi >= 1.5.71, python3-eventlet, python3-greenlet, python3-pycryptodome >= 3.4.7, confluent_client == %{version}, python3-pyparsing, python3-paramiko, python3-webauthn, python3-dnspython, python3-netifaces, python3-pyasn1 >= 0.2.3, python3-pysnmp >= 4.3.4, python3-lxml, python3-eficompressor, python3-setuptools, python3-dateutil, python3-cffi, python3-pyOpenSSL, python3-websocket-client python3-msgpack python3-libarchive-c python3-PyYAML openssl iproute
|
||||
Requires: python3-dbm,python3-pyghmi >= 1.5.71, python3-eventlet, python3-greenlet, python3-pycryptodome >= 3.4.7, confluent_client == %{version}, python3-pyparsing, python3-paramiko, python3-dnspython, python3-netifaces, python3-pyasn1 >= 0.2.3, python3-pysnmp >= 4.3.4, python3-lxml, python3-eficompressor, python3-setuptools, python3-dateutil, python3-cffi, python3-pyOpenSSL, python3-websocket-client python3-msgpack python3-libarchive-c python3-PyYAML openssl iproute
|
||||
|
||||
%endif
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user