[web2py] Re: password issues on server move

2011-02-18 Thread Matt
Thanks Richard. I had another look, and the database is in fact changing when I do a password reset. The password after reset is sha512 + hmac using the salt specified in the db.py. I checked it in code manually. I tried to find a combination of algorithm that gave me the old hash, before the

Re: [web2py] Re: password issues on server move

2011-02-18 Thread Richard Vézina
What you describe is pretty strange I dump postgresql db and reload it many time and i didn't have this problem... Try to look if there is not something wrong with your new installation... May be you belive that you point to the right db, but you don't... It possible that you point to SQLite...

[web2py] Re: password issues on server move

2011-02-17 Thread Matt
No actually it is the user authentication using Auth from the model. I think I will compare the database before and after, make sure I know exactly what has changed between the two. Thanks. On Feb 16, 7:21 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: The problem is it only when you try

Re: [web2py] Re: password issues on server move

2011-02-17 Thread Richard Vézina
Did you change the user of you DB? If yes, you have to change it in db.py in model this line (example for Postgres) : db=DAL('postgres://USERNAME:PASSWORD@127.0.0.1:5432/NEWDBNAME') And if it coming from the auth at login... Just put a password directly into auth.user password field and go into