Ignore:
Timestamp:
15 Jan 2012, 10:31:43 (13 years ago)
Author:
Henrik Bettermann
Message:

We do no longer need to configure smtp server credentials through the UI.

File:
1 edited

Legend:

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

    r7473 r7475  
    149149        """
    150150
     151    def fullname(firstname,lastname,middlename):
     152        """Full name constructor.
     153        """
     154
     155    def sendCredentials(user, password, login_url, msg):
     156        """Send credentials as email.
     157
     158        Input is the applicant for which credentials are sent and the
     159        password.
     160
     161        Returns True or False to indicate successful operation.
     162        """
     163
     164    def genPassword(length, chars):
     165        """Generate a random password.
     166        """
     167
    151168class ISIRPObject(Interface):
    152169    """A SIRP object.
     
    429446        )
    430447
    431     smtp_server = schema.TextLine(
    432         title = u'Adress of SMTP Server',
    433         default = u'localhost',
    434         required = False,
    435         )
    436 
    437     smtp_requires_login = schema.Bool(
    438         title = u'Server requires login',
    439         default = False,
    440         )
    441 
    442     smtp_username = schema.TextLine(
    443         title = u'Username for SMTP Account',
    444         default = None,
    445         required = False,
    446         )
    447 
    448     smtp_password = schema.Password(
    449         title = u'Password for SMTP Account',
    450         default = None,
    451         required = False,
    452         )
    453 
    454448    captcha = schema.Choice(
    455         title = u'Captcha used for applicant registration pages',
     449        title = u'Captcha used for public registration pages',
    456450        source = CaptchaSource(),
    457451        default = u'No captcha',
Note: See TracChangeset for help on using the changeset viewer.