diff --git a/tests/login_required_routes/template.html b/tests/login_required_routes/template.html new file mode 100644 index 00000000..08fba333 --- /dev/null +++ b/tests/login_required_routes/template.html @@ -0,0 +1,40 @@ + + + + + + Login Required Routes + + + +
+

Login protected routes

+ + + + + + + + + + {% for route in routes %} + {% if 'login_required_view' not in route %} + + + + {% if route.login_required %} + + {% elif 'static' in route.endpoint or 'login' in route.endpoint or 'admin_autologin' in route.endpoint or 'logout' in route.endpoint or 'open_panel' in route.endpoint %} + + {% else %} + + {% endif %} + + {% endif %} + {% endfor %} + +
EndpointMethodsLogin Required
{{ route.endpoint }}{{ route.methods }}yesnono
+
+ +