Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirecting a user after login to the page from where they started #500

Open
ipaleka opened this issue Jul 31, 2021 · 0 comments
Open

Redirecting a user after login to the page from where they started #500

ipaleka opened this issue Jul 31, 2021 · 0 comments

Comments

@ipaleka
Copy link
Contributor

ipaleka commented Jul 31, 2021

This isn't a documentation-related issue, rather a UX improvement. As I've found out, a Django based CMS is responsible for serving the Developer portal, so if the login button in the base template is presented with:

<a href="{% url 'login' %}" class="login-button">

then it should become:

<a href="{% url 'login' %}?next={% firstof request.path '/' %}" class="login-button">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@ipaleka and others