We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f364248 commit 5c5aa5cCopy full SHA for 5c5aa5c
app.py
@@ -828,7 +828,9 @@ def put(self):
828
return {"error": "No JSON data provided"}, 400
829
830
user_info = extract_user_info(request.user)
831
- redirect_uri = settings.FRONTEND_URL
+ redirect_uri = data.get("redirect_uri")
832
+ if not redirect_uri:
833
+ redirect_uri = settings.FRONTEND_URL
834
new_email = data.get("new_email")
835
836
if not new_email:
0 commit comments