AUR web interface

Tasklist

FS#32481 - AUR always lands at homepage after login

Attached to Project: AUR web interface
Opened by Rulatir (Rulatir) - Monday, 05 November 2012, 19:47 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 25 June 2015, 13:56 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version 2.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

Description:

The AUR website doesn't automatically return a just-logged-in user to the page where they have clicked on the "login" link.

Steps to reproduce:

1) Open a package page on AUR while *not* logged in to AUR
2) Scroll down to where the comment box would be if you were logged in
3) Click the login link in "You must be logged in to post comments yadda yadda" message.
4) Log in

Expected behavior:

The page where you clicked the login link should be displayed.

Actual behavior:

AUR home page is displayed.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Thursday, 25 June 2015, 13:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.0.0-rc6.
Comment by canyonknight (canyonknight) - Saturday, 17 November 2012, 15:20 GMT
To implement this properly, this probably requires the use of sessions. It will require a fair bit of work.
Comment by Marcel Korpel (Marcel-) - Friday, 14 December 2012, 13:10 GMT
Can't you just add a URL parameter to the login link that points back to the package (or other current) page?
Comment by Que Quotion (quequotion) - Thursday, 08 January 2015, 06:42 GMT
Send back to http referrer?

Loading...