You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
In Flask, the request data is an ImmutableMultiDict, so the ToopherIframe.validate method will throw an error when trying to delete the Toopher signature.
I suggest we make a mutable copy of the data that we can manipulate and return. There's probably a cleaner way to do it, but this is how I got around it in my example:
mutable_dict = {}
for key in data.keys():
mutable_dict[key] = data[key]