Revision 6febeb41

b/pithos/middleware/auth.py
57 57
        except:
58 58
            return
59 59
        
60
        # Check if the is active.
61
        if user.state != 'ACTIVE':
62
            return
63
        
60 64
        # Check if the token has expired.
61 65
        if (time() - mktime(user.auth_token_expires.timetuple())) > 0:
62 66
            return

Also available in: Unified diff