Tags:
archive_me1Add my vote for this tag create new tag
, view all tags
A user mentioned that submitting the registration form asks for authentication, which is a chicken and egg problem. I could verify this:

  • Restart browser (to forget about basic authentication)
  • Edit any topic
  • On authentication dialog hit Cancel
  • The TWikiRegistration form is shown, but the URl shows the edit script of the topic you tried to edit. (This is spec)
  • Click on a link, kike WikiWord. It asks for authentication, which it should not.
  • Fill out the form and try to send. It asks for authentication, which it should not.

Everything works fine if you go to the TWikiRegistration topic by following links (e.g. not failed authentication on Edit).

Needs to be fixed. Probably best to add a new oops dialog that tells about the failed authentication and that you can register. The [ OK ] button takes you to the TWikiRegistration topic.

-- PeterThoeny - 25 Feb 2001

A slightly different version showed up in my instalation (standard Dec 01, 2000 release at the time).

If a user got into the registration page by trying to edit a page, he/she would not be able to register. If the page was accessed directly (through a normal link) registration worked fine.

My solution: change the error 401 document to a different Authentication failed page, which had links to all the appropriate pages in it (a very short version of the WelcomeGuest page). This also allowed me to remove the confusing red text at the top of the registration page.

-- EdgarBrown - 08 May 2001

I altered the top of that page to say:

Either you need to register or the authorization failed

To edit pages on this TWiki Collaborative Web, you must have a registered user name and password.

If you expected to be logged in at this point:

  • Did you type in your WikiName and password correctly?
    • Remember that you are not using your LotusNotes or IntranetPassword user name and password, you need to use your WikiName and the password you gave when you registered at the site.
  • If you want to try again, back arrow and hit edit again.
  • If you have forgotton your password, please contact peter09@thoenyPLEASENOSPAM.org who will reset it for you.

To register as a new user, simply fill out this form:

-- MartinCleaver - 09 May 2001

Fixed bug, and added an oops dialog (oopsauth.tmpl) for failed authentication. In TWikiAlphaRelease.

The problem was that $query->url returns an incorrect URL after a failed authentication. It is usually http://twiki.org/cgi-bin/view, but after a failed authentication it is http://twiki.org/cgi-bin/edit/Test/TestTopic1. The $scriptUrlPath was calculated depending on $query->url. The fix was to remove that dependency. A new $doGetScriptUrlFromCgi flag in TWiki.cfg determines if $scriptUrlPath is taken from $query->url, or if it remains what it is set in TWiki.cfg.

-- PeterThoeny - 15 Jul 2001

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2001-07-15 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.