Changeset 17609 for main


Ignore:
Timestamp:
11 Oct 2023, 21:05:35 (15 months ago)
Author:
Henrik Bettermann
Message:

Revert last changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r17605 r17609  
    167167    grok.context(INigeriaStudentOnlinePayment)
    168168    grok.name('request_webservice')
    169 
    170     #grok.require('waeup.payStudent')
    171    
    172     # Function temporarily opened on 08/10/23 because Interswitch is sending
    173     # POST requests instead of GET requests. Usually all browsers protect
    174     # against cross-site attacks by removing cookies included in requests
    175     # originating from other websites. In other words, the cookies with the
    176     # session id, which is used for authentication is beeing removed when
    177     # receiving a POST request from the Interswitch platform.
    178     grok.require('waeup.Public')
     169    grok.require('waeup.payStudent')
    179170
    180171    product_id = None
     
    205196            student.writeLogMessage(self, log)
    206197        self.flash(msg, type=flashtype)
    207         self.redirect(self.url(self.context, '@@index'))
    208198        return
    209199
Note: See TracChangeset for help on using the changeset viewer.