e76c5d6 auth: ingore login check when auth backend is 'noauth'

Authored and Committed by qwan 6 years ago
    auth: ingore login check when auth backend is 'noauth'
    
    Wrap flask_login's login_required to ignore login checking when auth
    backend is 'noauth', this can make it easy to start local server for
    testing purpose.
    
        
file modified
+11 -0
file modified
+1 -2
file modified
+24 -0