Item10419: sudo login just returns to login screen, doesn't switch to AdminUser

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: sudo
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: KennethLavrsen
Tried on both trunk and release11.

The sudo function just returns to the login screen and never actually switches the user into sudo authority. It appears that some information is omitted from the login post. foswiki_origin is blank, and the username is completely omitted. From firebug

Sudo login:

foswiki_origin   
password   asdfasdf
sudo   sudo
validation_key   1be0d24f772836933e760b5d9ee4bd54

Regular admin login

foswiki_origin   GET,view,/Main/AdminUser
password   asdfasdf
username   admin
validation_key   7f3547b556b16e3fbe6a0b265218c2dc

-- GeorgeClark - 27 Feb 2011

Instead of using the HTML attribute "disabled" use "readonly". disabled fields are not submitted but readonly fields are.

-- GeorgeClark - 01 Mar 2011

 

ItemTemplate edit

Summary sudo login just returns to login screen, doesn't switch to AdminUser
ReportedBy GeorgeClark
Codebase 1.1.2, trunk
SVN Range
AppliesTo Engine
Component sudo
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:3b35ea7dea78 distro:ceea4b5b3199
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r6 - 06 Mar 2011, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy