예제 #1
0
파일: user.py 프로젝트: bitonic/troppotardi
 def check_password(self, plain_text):
     return hash_password(plain_text) == self.hashed_password
예제 #2
0
파일: user.py 프로젝트: bitonic/troppotardi
 def set_password(self, plain_text):
     self.hashed_password = hash_password(plain_text)