示例#1
0
文件: user.py 项目: lehuwu/mystock
 def check_password(self, password):
     """Check the entry-password whether as same as user.password."""
     return bcrypt.check_password_hash(self.password, password)
示例#2
0
 def check_password(self, password):
     return bcrypt.check_password_hash(self.password, password)
示例#3
0
 def check_password(self, password):
     print('check_password:', self.password, password)
     return bcrypt.check_password_hash(self.password, password)
示例#4
0
 def check_password(self, password):
     return bcrypt.check_password_hash(self.password, password)
示例#5
0
 def check_password(self, value):
     """Check password."""
     return bcrypt.check_password_hash(self.password, value)
示例#6
0
 def check_password(self, password):
     """Check the entry-password whether as same as user.password."""
     return bcrypt.check_password_hash(self.password, password)
示例#7
0
 def check_password(self, value):
     """Check password."""
     return bcrypt.check_password_hash(self.password, value)