]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commitdiff
Require login for bericht.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 10 May 2019 20:52:43 +0000 (22:52 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 25 Oct 2019 14:59:39 +0000 (16:59 +0200)
wradmin/__init__.py

index 6d8684f37dfbb1286cfa00637da26e6005b1f1ee..ccdf2daeaf8a443c79344dd366ca0011cd171284 100644 (file)
@@ -59,16 +59,19 @@ def rodelbahn_update_mapcache():
     return RodelbahnController().update_mapcache()
 
 @app.route("/bericht/list")
+@login_required
 def bericht_list():
     return BerichtController().list()
 
 
 @app.route("/bericht/view/<int:id>")
+@login_required
 def bericht_view(id):
     return BerichtController().view(id)
 
 
 @app.route("/bericht/change_date_invalid/<int:id>", methods=['POST'])
+@login_required
 def bericht_change_date_invalid(id):
     return BerichtController().change_date_invalid(id)