diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 12:53:54 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 12:53:54 -0700 |
commit | 95286700bbe06c8c0676e08acc0b6dc4a8f8504d (patch) | |
tree | b18a383685765e7cf4262a25896fe22cc8f5e566 /python/fatcat_web/routes.py | |
parent | ec7bce74d501df3b2514baab6ec4685baf126818 (diff) | |
download | fatcat-95286700bbe06c8c0676e08acc0b6dc4a8f8504d.tar.gz fatcat-95286700bbe06c8c0676e08acc0b6dc4a8f8504d.zip |
get rid of active_editgroup_id cookie
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r-- | python/fatcat_web/routes.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 66f64ca6..6211b90c 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -403,9 +403,6 @@ def editgroup_accept(ident): except ApiException as ae: app.log.info(ae) abort(ae.status) - # clear active_editgroup_id cookie; this doesn't cover all cases - if eg.editgroup_id == session.get('active_editgroup_id'): - session.pop('active_editgroup_id') return redirect('/editgroup/{}'.format(ident)) @app.route('/editgroup/<ident>/unsubmit', methods=['POST']) |