flask-extensions / Flask-SimpleLogin

Simple Login - Login Extension for Flask - maintainer @cuducos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a REQUIRES_LOGIN_FOR_ALL_VIEWS config as refered in #10

rochacbruno opened this issue · comments

with REQUIRES_LOGIN_FOR_ALL_VIEWS config, every view is automatically protected.

then a @no_login decorator can be used in specific paths

See #10

SimpleLogin(app, protect_all_views=True)

Assign it to me let me have a look into this