~jae/dn0magik-mc

b7a7e163987a623e417be14e123150e4763ec5f1 — Jae Lo Presti (DN0) 1 year, 8 months ago d67cba5
Meta: cleanup (remove prints of sensitive info)
2 files changed, 0 insertions(+), 4 deletions(-)

M src/api/userapi.py
M src/utils/secretsutil.py
M src/api/userapi.py => src/api/userapi.py +0 -2
@@ 146,8 146,6 @@ def userapi_refresh():

    jwt_auth_ok = check_auth_jwt(token, client_token)

    print(jwt_auth_ok)

    if not jwt_auth_ok:
        res = {
            "error": "ForbiddenOperationException",

M src/utils/secretsutil.py => src/utils/secretsutil.py +0 -2
@@ 44,8 44,6 @@ def check_auth_jwt(token: str, client_identifer: str):
            ctoken = data["yggt"]
            cuser = data["sub"]

            print(f"{client_identifer} - {ctoken}")

            if client_identifer == ctoken:
                return cuser
            else: