Changeset 11439


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.
Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r11438 r11439  
    441.0.1dev (unreleased)
    55=====================
     6
     7* After login and logout regular users (officers) are redirected
     8  to the portal's index page not to the portal's root. The
     9  root URL can now be rewritten be Nginx or Apache so that the user
     10  is being redirected to the university website
     11  when entering the root URL directly or clicking the acronym.
    612
    713* Show tooltip alert and warning window before updating plugins.
  • 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.