def create(cls, email_address):
     key = hookset.generate_email_confirmation_token(email_address.email)
     return cls._default_manager.create(email_address=email_address, key=key)
 def create(cls, email_address):
     key = hookset.generate_email_confirmation_token(email_address.email)
     return cls._default_manager.create(email_address=email_address, key=key)
Exemple #3
0
 def create(cls, account):
     key = hookset.generate_email_confirmation_token(account.user.email)
     return cls._default_manager.create(account=account, key=key)