Skip to content

Commit fc208e6

Browse files
committed
update to make redirect work correctly
1 parent e613a01 commit fc208e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/openapi_server/controllers/auth_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ def confirm_signup():
424424
ConfirmationCode=code
425425
)
426426

427-
return redirect("{URL}/email-verification-success")
427+
return redirect(f"{URL}/email-verification-success")
428428
except Exception as e:
429-
return redirect("{URL}/email-verification-error")
429+
return redirect(f"{URL}/email-verification-error")
430430

431431
# What comes first invite or adding the user
432432
#Do I have an oauth token

0 commit comments

Comments
 (0)