Ignore:
Timestamp:
26 Feb 2014, 15:29:26 (11 years ago)
Author:
Henrik Bettermann
Message:
  • After login and logout regular users (officers) are redirected to the portal's index page not to the portal's root. The root URL can now be rewritten be Nginx or Apache so that the user is being redirected to the university website when entering the root URL directly or clicking the acronym.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r11438 r11439  
    292292                    return
    293293                if not self.camefrom:
    294                     # User might have entered the URL directly. Let's beam
    295                     # him back to our context.
    296                     self.redirect(self.url(self.context))
     294                    self.redirect(self.application_url() + '/index')
    297295                    return
    298296                self.redirect(self.camefrom)
     
    343341            ILogout(auth).logout(self.request)
    344342            self.flash(_("You have been logged out. Thanks for using WAeUP Kofa!"))
    345         self.redirect(self.application_url())
     343        self.redirect(self.application_url() + '/index')
     344        return
    346345
    347346
Note: See TracChangeset for help on using the changeset viewer.