示例#1
0
文件: core.py 项目: ShadowsHax/osf.io
 def set_password(self, raw_password):
     """Set the password for this user to the hash of ``raw_password``."""
     self.password = generate_password_hash(raw_password)
示例#2
0
 def set_password(self, raw_password):
     '''Set the password for this user to the hash of ``raw_password``.'''
     self.password = generate_password_hash(raw_password)
     return None
示例#3
0
文件: core.py 项目: keyz182/osf.io
 def set_password(self, raw_password):
     """Set the password for this user to the hash of ``raw_password``."""
     self.password = generate_password_hash(raw_password)
示例#4
0
 def set_password(self, raw_password):
     '''Set the password for this user to the hash of ``raw_password``.'''
     self.password = generate_password_hash(raw_password)
     return None