scfc / pagure

Forked from pagure 5 years ago
Clone

0a54a29 Provide more information about invalid tokens

6 files Authored by pingou 5 years ago, Committed by pingou 5 years ago,
    Provide more information about invalid tokens
    
    We now include an "errors" field in the JSON data returned that specifies
    the reason why the token is invalid (entirely invalid, expired, missing
    ACLs).
    
    Unit-tests are also adjusted for this.
    
    Fixes https://pagure.io/pagure/issue/4307
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+42 -17