I am trying to make a change at the auth.models.py
file to force the password hashing function (get_hexdigest()
) to not use the salt when passing the sha1. So the change would be:
auth.models.py line 33
before:
return sha_constructor(salt+raw_password)
after:
return sha_constructor(raw_password)
However, when I make the change and reset the server, it is not recognized. The old way of encrypting is mantained, and nothing is different.
Do anyone knows why the changes are not loaded by django?
Thanks in advance.