Ignore:
Timestamp:
27 Nov 2011, 06:50:43 (13 years ago)
Author:
Henrik Bettermann
Message:

Now we have a configuration object and can provide ContactAdminForm? with proper credentials for a smtp server.

Add Email address to IAccount objects so that 'From' fields in emails, sent by users, can be automatically filled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/authentication.py

    r7197 r7221  
    8484
    8585    def __init__(self, name, password, title=None, description=None,
    86                  roles = []):
     86                 email=None, roles = []):
    8787        self.name = name
    8888        if title is None:
     
    9292        self.title = title
    9393        self.description = description
     94        self.email = email
    9495        self.setPassword(password)
    9596        #self.setSiteRolesForPrincipal(roles)
Note: See TracChangeset for help on using the changeset viewer.