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

In lib/TWiki.cfg:

$cfg{Register}{AllowLoginName} = $FALSE;

In lib/TWiki/UI/Register.pm:

    $data->{LoginName} ||= $data->{WikiName}
      unless $TWiki::cfg{AllowLoginName};

A simple workaround is to supply both config values in lib/LocalSite.cfg, nevertheless I'd suggest to patch Register.pm:

--- lib/TWiki/UI/Register.pm~   2005-09-26 13:50:33.053512000 +0200
+++ lib/TWiki/UI/Register.pm   2005-09-29 09:56:02.911718700 +0200
@@ -1208,5 +1208,5 @@
-      unless $TWiki::cfg{AllowLoginName};
+      unless $TWiki::cfg{Register}{AllowLoginName};

(I'll attach a traditional -U2 patch)

-- TWiki:Main.HaraldJoerg

SVN 6674 CC

Summary Dakar Beta1: AllowLoginName not evaluated
ReportedBy TWiki:Main.HaraldJoerg
AppliesTo Engine
Priority Low
CurrentState Closed

Checkins 6674
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff Register.pm.diff r0 manage 0.5 K 2005-09-29 - 08:34 HaraldJoerg Use {Register} subkey in cfg
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2005-09-29 - 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