Mercurial > p > roundup > code
comparison doc/customizing.txt @ 2582:7575854ecee5
fixed external password source example [SF#986601]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 19 Jul 2004 01:47:57 +0000 |
| parents | d15b71b8a85a |
| children | e80604dbe2af |
comparison
equal
deleted
inserted
replaced
| 2580:e90d63c7eceb | 2582:7575854ecee5 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.142 $ | 5 :Version: $Revision: 1.143 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 3020 | 3020 |
| 3021 # user doesn't exist in the file | 3021 # user doesn't exist in the file |
| 3022 return 0 | 3022 return 0 |
| 3023 | 3023 |
| 3024 class Client(client.Client): | 3024 class Client(client.Client): |
| 3025 actions = client.Client.actions + ( | 3025 actions = ( |
| 3026 ('login', ExternalPasswordLoginAction) | 3026 ('login', ExternalPasswordLoginAction), |
| 3027 ) | 3027 ) + client.Client.actions |
| 3028 | 3028 |
| 3029 What this does is look through the file, line by line, looking for a | 3029 What this does is look through the file, line by line, looking for a |
| 3030 name that matches. | 3030 name that matches. |
| 3031 | 3031 |
| 3032 We also remove the redundant password fields from the ``user.item`` | 3032 We also remove the redundant password fields from the ``user.item`` |
