Ignore:
Timestamp:
31 Jan 2020, 21:50:08 (5 years ago)
Author:
Henrik Bettermann
Message:

Do not allow to submit forms to other companies than payment.r_company.

File:
1 edited

Legend:

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

    r15842 r15974  
    362362        if not module_activated(
    363363            self.context.student.current_session, self.context):
     364            self.flash(_('Forbidden'), type='danger')
     365            self.redirect(self.url(self.context, '@@index'))
    364366            return
    365367        error = self.init_update()
     
    421423        if not module_activated(
    422424            self.context.__parent__.__parent__.year, self.context):
     425            self.flash(_('Forbidden'), type='danger')
     426            self.redirect(self.url(self.context, '@@index'))
    423427            return
    424428        error = self.init_update()
Note: See TracChangeset for help on using the changeset viewer.