Задать вопрос

Тел: +7 965 3737 888

673

Просмотров

2

Ответов

phpbb (2.x) authentication backend

This class not only checks an old-style phpbb 2.x password, when the user successfully logs in, it rehashes the (correct) password in the newstyle hash and saves it. Eradicating the old, quite unsafe stored md5 password.

Вопрос полезен? Да0/Нет0
file_4157.py(615.0б)
None

Ответы (2):

Ответbram:25.07.2008
Ответ полезен? Да0/Нет0

sigh here I was thinking I had done something useful :)

Ответmk:25.07.2008
Ответ полезен? Да0/Нет0

You'll be delighted to hear that the code in django.contrib.auth does exactly that already. See User.check_password in django/contrib/auth/models.py around line 180 (current SVN trunk, r8069)