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

Redirect to Login Page When User Sign Out #99

Closed
hamzaCraftsCode opened this issue Sep 25, 2024 · 1 comment
Closed

Redirect to Login Page When User Sign Out #99

hamzaCraftsCode opened this issue Sep 25, 2024 · 1 comment

Comments

@hamzaCraftsCode
Copy link

Hi veryone,
I want to customize my edx. When a user signs out, instead of going to the discover courses page page it should go to the login page

For this I have tried changing the user_dropdown.html file. I changed the href in

<div class="mobile-nav-item dropdown-item dropdown-nav-item"><a href="${reverse('logout')}" role="menuitem">${_("Sign Out")}</a></div>
to

<div class="mobile-nav-item dropdown-item dropdown-nav-item"><a href="/login${login_query()}" role="menuitem">${_("Sign Out")}</a></div>

but it did not work.
After some research I have to a conclusion that

  1. Maybe I have to create mfe plugin to do this
  2. Maybe I have to make some changes in the caddy file
  3. Maybe I have to add a route somewhere

Please guide me on this.

@regisb
Copy link
Contributor

regisb commented Sep 25, 2024

Please don't use Github issues for feature requests or for support. Instead, you should create a new topic in the official Open edX forum: https://discuss.openedx.org/ Make sure to include as much information as possible about your use case.

@regisb regisb closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants