[web2py] web2py password encryption/decryption

2014-05-30 Thread farmy zdrowia
Hello, I'm trying to integrate web2py users to be stored in joomla "_users" database instead of auth_user. I can see joomla and web2py use different algorithm do code/decode passwords. Joomla password looks like: $P$DryHu7D3LgdPOK//FPvuVMcMR13HgU1 , while web2py pbkdf2(1000,20,sha512)$a76b5

Re: [web2py] web2py password encryption/decryption

2014-05-30 Thread Marin Pranjić
You can change current behavior by changing db.auth_user.password.requires. This is a default validator: https://github.com/web2py/web2py/blob/master/gluon/tools.py#L1786-L1787 it's being used here: https://github.com/web2py/web2py/blob/master/gluon/tools.py#L1850-L1852 Check if you can get des