Changeset 7475 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 15 Jan 2012, 10:31:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r7473 r7475 149 149 """ 150 150 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 151 168 class ISIRPObject(Interface): 152 169 """A SIRP object. … … 429 446 ) 430 447 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 454 448 captcha = schema.Choice( 455 title = u'Captcha used for applicantregistration pages',449 title = u'Captcha used for public registration pages', 456 450 source = CaptchaSource(), 457 451 default = u'No captcha',
Note: See TracChangeset for help on using the changeset viewer.