Skip to content

Commit

Permalink
[frontend] fix behaviour changes in werkzeug set_cookie
Browse files Browse the repository at this point in the history
Fixes #972
  • Loading branch information
anthonygego committed Dec 6, 2023
1 parent 9d0f6e7 commit 912240d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/flask/mongo_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def save_session(self, app, session, response):
{"$set": {'data': val, 'expiration': expires, 'cookieless': cookieless}},
upsert=True)
if self.use_signer:
session_id = self._get_signer(app).sign(want_bytes(session.sid))
session_id = self._get_signer(app).sign(session.sid).decode()
else:
session_id = session.sid
if not cookieless:
Expand Down
1 change: 1 addition & 0 deletions inginious/frontend/static/css/INGInious-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 912240d

Please sign in to comment.