From: Jason Etheridge Date: Thu, 15 Jun 2017 21:18:16 +0000 (-0400) Subject: lp1653998 webstaff redirect to login page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=518023bd388dccf84bb48a2b34d91a1e9813d5d2;p=Evergreen.git lp1653998 webstaff redirect to login page on invalid/non-existent authtoken in all or most interfaces (hopefully) Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/web/js/ui/default/staff/services/startup.js b/Open-ILS/web/js/ui/default/staff/services/startup.js index ea57367fd1..79e48edc35 100644 --- a/Open-ILS/web/js/ui/default/staff/services/startup.js +++ b/Open-ILS/web/js/ui/default/staff/services/startup.js @@ -13,6 +13,12 @@ angular.module('egCoreMod') +.config(['$routeProvider','$locationProvider','$compileProvider', + function($routeProvider , $locationProvider , $compileProvider) { + $locationProvider.html5Mode(true); + $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|blob):/); +}]) + .factory('egStartup', ['$q','$rootScope','$location','$window','egIDL','egAuth','egEnv','egOrg', function($q, $rootScope, $location, $window, egIDL, egAuth, egEnv , egOrg ) {