Changes between Initial Version and Version 2 of Ticket #11894


Ignore:
Timestamp:
Aug 2, 2014, 2:57:56 AM (10 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11894 – Description

    initial v2  
    44Example, I don't want the minimum of 5 chars long user names.
    55I found the code, but I don't know python.
    6 register.py:
    7 {{{
     6`register.py`:
     7{{{#!python
    88username_regexp = Option('account-manager', 'username_regexp',
    99        r'(?i)^[A-Z0-9.\-_]{5,}$',
     
    1111}}}
    1212
    13 couldn't it be laoded from the inii file like:
    14 {{{
     13couldn't it be loaded from the ini file like:
     14{{{#!python
    1515 def validate_registration(self, req):
    1616        acctmgr = AccountManager(self.env)