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

The pattern skin template says "Cancel to register if you do not have one." yet there is no Cancel button so the user is trapped.

%TMPL:DEF{"UNRECOGNISED_USER"}% <h2> %_{"Unrecognised user and/or password"}% </h2> %TMPL:END%


%TMPL:DEF{"content"}%
%TMPL:P{"simpleheader"}%
---+ %BANNER%
%NOTE%
<form action="%SCRIPTURL%/login%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post">
*%_{"Username"}%*
<div class="twikiSmall twikiGrayText">%AUTHREALM%</div>
<input type="text" size="30" name="username" value="%URLPARAM{"username"}%" /> %BR%
*%_{"Password"}%* %BR%
<input type="password" size="30" name="password" value="" />
<input type="hidden" name="origurl" value="%ORIGURL%" /> %BR%
<input class="twikiSubmit" type="submit" value='%_{"Logon"}%' />
</form>
%TMPL:END%


Presumably you are using Apache. There are a number of issues here:
  1. The instructions for setting up ErrorDocument in .htaccess.txt are wrong
  2. The example URL doesn't work (apache won't pass parameters in a redirect)
  3. The redirect is silly anyway - it should go straight to the registration page
  4. UI.pm has a check to ensure the target of any redirect is an oops script. This is pointless.

SVN 6645

CC

ItemTemplate
Summary Cancel button during UNRECOGNISED_USER does not exist
ReportedBy MartinCleaver
AppliesTo Engine
Priority Urgent
CurrentState Closed
WaitingFor

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