[pmwiki-users] numeric passwords

Christophe David pmwiki at christophedavid.org
Wed Jul 19 06:50:10 CDT 2006


> >    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


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
>

I notice the same behaviour on PHP 4.4.0 FreeBSD and Windows.

It happens also when you set the password with action=attr : if it contains
only digits, the password does not work.

Any clue ?

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060719/81974f8f/attachment.html 


More information about the pmwiki-users mailing list