When a user that is not authenticated presses the "Click to ask a question" button on the homepage, they are redirected to the login page but after logging in they are not properly redirected to the asking a question page. This is due to the template linking directly to /login/ instead of making use of proper redirecting with the views decorator @login_required.
Story points: 0
Priority: Low
Risk: Low
Tasks
Remove condition on url of <a> tag found in home.html's header block.
Description
When a user that is not authenticated presses the "Click to ask a question" button on the homepage, they are redirected to the login page but after logging in they are not properly redirected to the asking a question page. This is due to the template linking directly to
/login/
instead of making use of proper redirecting with the views decorator@login_required
.Tasks
<a>
tag found inhome.html
's header block.