orf / simple

Simple is a clone of Obtvse written in Python running on Flask.
MIT License
505 stars 280 forks source link

Can't log into /admin, and I found why #13

Closed luwenjin closed 12 years ago

luwenjin commented 12 years ago

In create_config.py, password is hashed by func 'generate_password_hash'. but in simple.py, password is unhashed by func 'md5'.

in my environment, it make me cant login.

orf commented 12 years ago

Oops, sorry about that. Fixed in the latest update - you might have to add the new hash in the settings file