Show
Ignore:
Timestamp:
08/31/10 15:55:39 (21 months ago)
Author:
zeank
Message:

force using POST path for ActiveUser?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/HelpIM/auth/pages/ActivateUser.py

    r1117 r1165  
    1111        self.submitText = 'Activeer mijn account' 
    1212        self.function = 'activate' 
     13        self.forcePOST = True 
    1314     
    1415    def getPanelData(self, *pargs, **kwargs): 
     
    2122        return [panel_data, fieldErrors, panelMessage] 
    2223 
    23  
    2424    def getPanelDef(self, *pargs, **kwargs): 
    2525        activation_key = { 'text_input_field' : 
     
    2727                               'id': 'activation_key', 
    2828                               'name': 'Inlogcode', 
    29                                'type': 'hidden', 
     29                               'type': 'text', 
    3030                               'length': '40', 
    3131                               'maxLength': '16' 
     
    7070        self.site.flush(self.site) 
    7171 
    72  
    7372    def getMenu(self, *pargs, **kwargs): 
    7473        return self.site.getMenu(currentMenu={'currentMenu': 'Account activeren'})