Verified Commit 4cb0994f authored by Kevin Morris's avatar Kevin Morris
Browse files

fix(fastapi): correct unauthorized request creation redirect


Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent beed64e0
Pipeline #12316 passed with stage
in 7 minutes and 37 seconds
......@@ -634,7 +634,7 @@ async def requests(request: Request,
@router.get("/pkgbase/{name}/request")
@auth_required(True, redirect="/pkgbase/{name}")
@auth_required(True, redirect="/pkgbase/{name}/request")
async def package_request(request: Request, name: str):
context = await make_variable_context(request, "Submit Request")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment