puiterwijk / ipsilon

Forked from ipsilon 7 years ago
Clone

61296bc Actually check requires_valid_token in API calls

Authored and Committed by puiterwijk 7 years ago
    Actually check requires_valid_token in API calls
    
    This change will make sure that if a token is not provided in a call
    that requires API tokens, we return a sane error message.
    
    Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
    Reviewed-by: Howard Johnson <merlin@merlinthp.org>