aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-03-05 19:18:14 +0300
committerAlexander_Kabui2024-03-05 19:18:14 +0300
commit1e81c74ee8752ad2913b4e610ba7575638755385 (patch)
treede07b67e46c94a615538fd092f70ceea4434910a /gn2
parentb295624bcb6109bc2ca252f94dfe658e395e2c59 (diff)
downloadgenenetwork2-1e81c74ee8752ad2913b4e610ba7575638755385.tar.gz
disable login requirement for gnqa on cd
* reason gnqa and gn-auth are currently unstable
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index cc212980..96074965 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -275,8 +275,11 @@ def gnqna():
def __success__(resp):
return render_template("gnqa_answer.html", **{"gn_server_url": GN3_LOCAL_URL, **(resp.json())})
+ """
+ disable gn-auth currently not stable
if not user_logged_in():
return error_page("Please Login/Register to Genenetwork to access this Service")
+ """
token = session_info()["user"]["token"].either(
lambda err: err, lambda tok: tok["access_token"])
return monad_requests.post(