[pmwiki-users] numeric passwords

Patrick R. Michaud pmichaud at pobox.com
Mon Jul 17 16:52:31 CDT 2006


On Mon, Jul 17, 2006 at 09:55:12PM +0200, Christophe David wrote:
>    It seems that (on my system ?) PmWiki passwords cannot be purely numeric :
> 
>    $DefaultPasswords['read'] = crypt('A12345');  works OK
> 
>    while
> 
>    $DefaultPasswords['read'] = crypt('12345');  does not
> 
>    Is that the expected behaviour ?  Can it be changed by some "format"
>    variable ?

It's got to be a limitation of the PHP crypt() function; AFAIK PmWiki
doesn't impose any restriction on passwords.

What version of PHP, and what OS?

Pm





More information about the pmwiki-users mailing list