Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Fix error behavior to not assume they need to reauth
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Levett committed Aug 30, 2016
1 parent fbce8d8 commit 48de451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions uw-frame-components/portal/timeout/controllers.js
Expand Up @@ -3,8 +3,8 @@
define(['angular'], function(angular) {
var app = angular.module('portal.timeout.controllers', []);

app.controller('PortalTimeoutController', ['$location', '$timeout', '$mdDialog', 'MISC_URLS', 'PortalShibbolethService',
function($location, $timeout, $mdDialog, MISC_URLS, PortalShibbolethService){
app.controller('PortalTimeoutController', ['$log', '$location', '$timeout', '$mdDialog', 'MISC_URLS', 'PortalShibbolethService',
function($log, $location, $timeout, $mdDialog, MISC_URLS, PortalShibbolethService){
function init(){
if(PortalShibbolethService.shibServiceActivated()) {
//initialize timeout and dialog
Expand All @@ -13,7 +13,7 @@ define(['angular'], function(angular) {
if(timeoutData && timeoutData.expirationMills) {
$timeout(triggerDialog, timeoutData.expirationMills);
} else {
triggerDialog();
$log.info("Timeout data could not be found");
}
}
);
Expand Down
2 changes: 1 addition & 1 deletion uw-frame-components/portal/timeout/services.js
Expand Up @@ -25,7 +25,7 @@ define(['angular', 'jquery'], function(angular, $) {
}

function onGetTimeoutSuccess(session){
if(session) {
if(session && angular.isObject(session)) {
var timeout = {};
timeout.expirationMinutes = session.expiration;
var now = new Date();
Expand Down

0 comments on commit 48de451

Please sign in to comment.