changeset 3653:ab3a5e89af14

add a note about auth vs. username not entered and similar
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 01 Jun 2008 17:14:16 +0200
parents 0b04ad4db631
children ba99c8023063
files MoinMoin/auth/__init__.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/__init__.py	Sun Jun 01 14:49:46 2008 +0200
+++ b/MoinMoin/auth/__init__.py	Sun Jun 01 17:14:16 2008 +0200
@@ -60,6 +60,12 @@
     methods will use the message feature only along with returning False for
     the continue flag.
 
+    Note, however, that when no username is entered or the username is not
+    found in the database, it may be appropriate to return with a message
+    and the continue flag set to true (ContinueLogin) because a subsequent auth
+    plugin might work even without the username, say the openid plugin for
+    example.
+
     The multistage member must evaluate to false or be callable. If it is
     callable, this indicates that the authentication method requires a second
     login stage. In that case, the multistage item will be called with the