[pmwiki-devel] Login and function PmWikiAuth
gmane at auxbuss.com
Wed Dec 20 12:47:53 CST 2006
> I prefer to use a login form in the sidebar - just username and password
> - along with authuser and authuserdb. This works fine except when an
> invalid login occurs. In this case $AuthPromptFmt is opened in the main
> This look a bit odd, because there are then two login prompts on the
> page: one in the sidebar and one on the main page.
> What I am trying to achieve is to retain the main page unchanged, and
> simply report login/page access errors in the sidebar form.
> I can see that this is handled by the last lines of PmWikiAuth(), but
> can't think of a way to change this in situ to do what I want.
> Is the best way to copy PmWikiAuth() with appropriate changes, and point
> to it via $AuthFunction? Or, more likely, am I way off base?
Please let me know if I've not explained the issue well enough.
More information about the pmwiki-devel