• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4327: Sudo login does not redirect to where you came from.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


This item is separated from Item4204 to split doc work and code work.

When you arrive at Main.TWikiAdminGroup and want to add yourself to the group you need to use the temporary admin login also internally known as sudo login.

If you are using normal ApacheLogin and you send do the sudo login - then you get correctly authenticated using the password from configure - but after you have entered your username and password, you end up at Main.WebHome instead of returning to where you came from. The redirect does not work.

The reason this is a release blocker is that we are dealing with a very newbie user who is trying to follow an already quite complex procedure of becoming an admin.

And when he ends up in a different place than where he had navigated to - he will very likely feel very lost and not know how to get back to Main.TWikiAdminGroup

So we need to get the redirect to work. We already have a working feature for this in Template Login so it should be possible to use same method.

The exact steps to reproduce the issue.

  • Remove your Wiki Name from Main.TWikiAdminGroup
  • Close the browser
  • Make sure that the TWiki is in Apache Login mode in configure
  • With new browser opened navigate to Main.TWikiAdminGroup
  • Login normally using the login link in the web left bar.
  • Now hit the = temporary admin login= link on the Main.TWikiAdminGroup topic
  • Login using the login name and password from configure
  • Note that you now end in Main.WebHome instead of returning to Main.TWikiAdminGroup
-- TWiki:Main/KennethLavrsen - 02 Jul 2007

A simple matter of putting a web and topic on the login link.


Summary Sudo login does not redirect to where you came from.
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1.2, Thu, 28 Jun 2007, build 14298
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins TWikirev:14537
TargetRelease minor

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-08-10 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback