[pmwiki-users] How to set username field required for user login...
Sheru Thakuri
sheru at sussol.net
Wed Oct 22 06:57:48 CDT 2008
Dear Simon,
Warmest Greetings from Sheru!
Thank you for your post & appreciate you for your great help.
Hope, your given link will help me. Hope to keep in touch.
Sheru
Kathamandu, Nepal
On Wed, 22 Oct 2008 19:30:35 +1400, Simon wrote:
> 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: <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
More information about the pmwiki-users
mailing list