fossasia / open-event-server

Missing argument in function call PYL-E1120
Bug risk
Critical
5 months ago3 years old
No value for argument 'jwt_data' in function call
40
41    if token:
42        try:
43            _load_user(token[config.identity_claim_key])44            return getattr(ctx_stack.top, 'jwt_user', None)
45        except UserLoadError:
46            pass
No value for argument 'fresh' in function call
34    """
35    token = None
36    try:
37        token, _ = _decode_jwt_from_request('access')38    except (JWTExtendedException, PyJWTError):
39        token = getattr(ctx_stack.top, 'expired_jwt', None)
40