diff options
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 25c4ee1b..81d73433 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -100,6 +100,9 @@ from gn2.wqflask.oauth2.client import user_logged_in from gn2.wqflask import requests as monad_requests +from gn2.wqflask.oauth2.checks import require_oauth2 + + Redis = get_redis_conn() @@ -253,6 +256,7 @@ def gsearchtable(): @app.route("/gnqna", methods=["POST", "GET"]) +@require_oauth2 def gnqna(): if request.method == "POST": |