#NEWLINE# def setPassword( self , password , hashed = False ) : #NEWLINE# #INDENT# "Sets the user's password." #NEWLINE# if ( hashed or self . hashed ) : #NEWLINE# #INDENT# self . hashed = True #NEWLINE# self . password = utils . saltHash ( password ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . password = password