Browse Source

removed password utf8 decode when hashing the password. to be checked later

prodserver 11 years ago
parent
commit
14a244a6a9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pboard/pboard/model/auth.py

+ 2 - 1
pboard/pboard/model/auth.py View File

@@ -121,7 +121,8 @@ class User(DeclarativeBase):
121 121
 
122 122
         # Make sure the hashed password is a unicode object at the end of the
123 123
         # process because SQLAlchemy _wants_ unicode objects for Unicode cols
124
-        password = password.decode('utf-8')
124
+        # FIXME - D.A. - 2013-11-20 - The following line has been removed since using python3. Is this normal ?!
125
+        # password = password.decode('utf-8')
125 126
 
126 127
         return password
127 128