def get_user_id_from_token(jwt_identity):
    """
    Extract the user ID from a JSON web token (after the token has been decrypted)

    :param jwt_identity: string containing user ID in the form: 'user_id=<user_id>'
    :return: user ID
    """

    return int(jwt_identity.split('=')[1])