Sign button redirects to wrong page when trying to star a repo
- Problem: When I tried to star any repo in src.fedoraproject.org, I got an error message saying "You must sign the FPCA (Fedora Project Contributor Agreement) to use pagure". However, when I clicked on the sign button, it redirected me to my profile page instead of the agreements page where I can sign the FPCA. This is not intuitive and confusing for new users.
- Expected behavior: The sign button should take me directly to the agreements page where I can sign the FPCA and then return to the repo page where I can star it.
-
Steps to reproduce:
- Go to src.fedoraproject.org and log in with your Fedora account.
- Choose any repo that you want to star, for example minetest.
- Click on the star icon next to the repo name.
- See the error message and the sign button. ( when using a non agreement signed account )
- Click on the sign button and see that it takes you to your profile page instead of the agreements page.
- Suggested solution: Modify the sign button to link to the agreements page instead of the profile page. Alternatively, add a link to the agreements page in the error message or in the profile page.