Exemplo n.º 1
0
 def edit(self, password, email):
     self.password = pwd_context.encrypt(password + salt)
     self.email = email
Exemplo n.º 2
0
 def edit(self, password, email):
     self.password = pwd_context.encrypt(password + salt)
     self.email = email
Exemplo n.º 3
0
 def __init__(self, username, password, email):
     Content.__init__(self, username, username, username)
     self.username = username
     self.password = pwd_context.encrypt(password + salt)
     self.email = email
Exemplo n.º 4
0
 def __init__(self, username, password, email):
     Content.__init__(self, username, username, username)
     self.username = username
     self.password = pwd_context.encrypt(password + salt)
     self.email = email