##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
marcink -
r2203:8a18c3c3 default
parent child Browse files
Show More
@@ -1245,7 +1245,7 b' class AuthUser(object):'
1245 def get_cookie_store(self):
1245 def get_cookie_store(self):
1246 return {
1246 return {
1247 'username': self.username,
1247 'username': self.username,
1248 'password': md5(self.password),
1248 'password': md5(self.password or ''),
1249 'user_id': self.user_id,
1249 'user_id': self.user_id,
1250 'is_authenticated': self.is_authenticated
1250 'is_authenticated': self.is_authenticated
1251 }
1251 }
General Comments 0
You need to be logged in to leave comments. Login now