[pmwiki-users] How to set username field required for user login...

Simon nzskiwi at gmail.com
Wed Oct 22 00:30:35 CDT 2008


I think you are looking for
$EnablePostAuthorRequired

See http://pmwiki.org/wiki/PmWiki/EditVariablesfor
details<http://pmwiki.org/wiki/PmWiki/EditVariables>


Simonhttp://pmwiki.org/wiki/PmWiki/HowToGetAssistance

2008/10/22 Sheru Thakuri <sheru at sussol.net>

> Dear Sir/Madam,
> Pmwiki is great. Thank you so much for this work.
> I am using DefaultPasswords for enitire site.
>
> In config.php, I have used following form for user login.
>
> /* ----------------------------------------------- User login
> added_________ */
> $AuthPromptFmt=array(&$PageStartFmt,
>  " <div class='forimg'>
>     <form name='authform' action='{$_SERVER['REQUEST_URI']}'
> method='post'>
>  <div class='uppertext'>*Password Required</div>
>        <div class='uppertd'>Name:&nbsp;<input tabindex='1' type='text'
> name='authpw' value='' /></div>
>       <div class='lowertd'> Password: <input tabindex='1'
> type='password' name='authpw' value='' /></div><br>
>        <input type='submit' value='LogIn' class='logIn'
> />$postvars</form>
>        <script language='javascript'><!--
>          document.authform.authpw.focus() //--></script></div>",
> &$PageEndFmt);
>  /* ----------------------------------------------- User login
> END_________ */
>
> 1.) Now problem is, I am not being able to make username field
> required.
> 2.) If correct password is entered, with leaving username field blank,
> it successfully authenticates.
>
>
> How could I make Name field compulsory for userlogin?
> Could you please help me on this?
>
> Sheru
> Kathmadu, Nepal
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 

http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081022/a5b46ee0/attachment-0001.html 


More information about the pmwiki-users mailing list