Example #1
0
def create_user(email, fullname, password):
    user = User()
    user.email = email
    user.fullname = fullname
    user.password = password
    db.save(user)
    return user
Example #2
0
def create_user(email, fullname, hashed_pw):
    user = User()
    user.email = email
    user.fullname = fullname
    user.hashed_pw = hashed_pw
    return db.save(user)