Here is an error:
File "/home/Julia/calculator/methods.py", line 104, in check_if_admin
check = check_password_hash(find_password, password)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 124, in check_password_hash
return safe_str_cmp(_hash_internal(method, salt, password), hashval)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 48, in safe_str_cmp
if len(a) != len(b):
TypeError: object of type 'NoneType' has no len()
and the strange thing that after I enter login data - log shows me this: 2014-06-02 19:06:54,784 :(u'admin', 1, 0). Password is a second value, but is not 1 for admin. By the way for all users it shows password as 1.
Has anyone met such issue with "check_password_hash"? I`ll really appreciate any help.