• 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.

Item4993: Button "log in as administrator" is broken

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   n/a  

Edit Form Data

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


The new interface (1 button instead of a link) is confusing:

  • should it handle the password? In that case the order is strange: the submit button above password field
  • when I blank the password field, I get the error feedback, but the name field is now prefilled with "admin"
  • just clicking on it with my own name (my browser fills the form fields) does not log me in as administrato, it just logs me in as normal

Urgent, because this is such a critical screen.

-- TWiki:Main/ArthurClemens - 19 Nov 2007

I agree with Arthur.

This login screen is used by normal users and this change makes the login as administrator all too visible and confusing for normal users. And the button working as a plain link makes it unlogical too.

-- TWiki:Main.KennethLavrsen - 19 Nov 2007

This relates to the login screen generated in TemplateLogin.

The button is there because it needs a submit to transfer the form parameters to the sudo login screen. You are welcome to reformat it so the button appears as a link (using CSS)

-- TWiki:Main.CrawfordCurrie - 20 Nov 2007

I reformatted the button to be less obtrusive. But I can't see anything wrong with it from a functional perspective.


As far as I can tell, the button submits the form, whether there is an admin username or not. I have to enter admin in the field, plus the admin password to get logged in as administrator. But then I can just use the default submit button. Why a second submit button?

OK, so now it looks like a link. Now I expect to go to a second page instead of submitting the form.

-- TWiki:Main.ArthurClemens - 20 Nov 2007

Excellent, so we can close this.


No, you don't understand. The problem is still there, it has not been solved.

How can I explain in a different way what is wrong? Go a page, not logged in. Try to edit and go to the login screen. What do you expect what should happen when I click on "log in as adminstrator"?

-- TWiki:Main.ArthurClemens - 20 Nov 2007

But you don't. You click "administrator login", a link (not a button) which is outside the form box altogether, and cannot be mistaken for a form submission button (even though it is). When I click on that link, I get taken to an administrator login page - which is a reasonable outcome, and non-administrators are unlikely to be confused by it.


Not true. I only get redirected to the admin login page if the name and password values are clear. Otherwise clicking the button will just log me in, but not as administrator.

Then, if I clear the values and get redirected, I am welcomed with an error message, indicating I did something wrong (I did not, I just clicked a link).

The behavior was correct before the link was a submit button.


It is easiest to split the form.


That does the job.


Summary Button "log in as administrator" is broken
ReportedBy TWiki:Main.ArthurClemens

SVN Range TWiki-4.3.0, Thu, 15 Nov 2007, build 15610
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins TWikirev:15668 TWikirev:15669 TWikirev:15686 TWikirev:15687
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r11 - 2007-11-21 - ArthurClemens
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