[PATCH] Redirect to referer after SSO login
Lukas Fleischer
lfleischer at archlinux.org
Sun Aug 2 13:33:03 UTC 2020
On Wed, 29 Jul 2020 at 11:25:44, Frédéric Mangano-Tarumi wrote:
> Introduce a `redirect` query argument to SSO login endpoints so that
> users are redirected to the page they were originally on when they
> clicked the Login link.
> ---
> aurweb/routers/sso.py | 23 +++++++++++++++++------
> web/html/login.php | 18 ++++++++++++------
> 2 files changed, 29 insertions(+), 12 deletions(-)
Thanks! I merged the patch into pu but we need to be careful here.
It probably makes sense to have all the code go through a security
review before we enable this feature in production in any case, so I am
not too worried now.
More information about the aur-dev
mailing list