Maintain redirection URL across oauth signup
authorMagnus Hagander <magnus@hagander.net>
Sat, 16 Sep 2017 11:34:55 +0000 (13:34 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 16 Sep 2017 11:36:29 +0000 (13:36 +0200)
commitfb0f12a51fe8bef47b9623869aed20beba86887d
tree8f3d13135116299b7e5d5fcf078e2ca2f1f3ecc7
parent5defff8eaaf75aae477b94b3ec0360b9aebb1beb
Maintain redirection URL across oauth signup

Previously when signing up for a new account in the middle of an
authentication process, the final redirection URL was lost and the user
was sent back to the /account/ page. Instead, we now redirect to the
proper URL (for sending back to the community auth client site) if it's
available in the session, both for successful signup and for
canceled logins.
pgweb/account/views.py