summaryrefslogtreecommitdiff
path: root/js/codeq/profile.js
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-10-21 13:57:43 +0200
committerRobert Zorko <robertz@gurucue.com>2015-10-21 13:57:43 +0200
commitfbcca83fc33f3a622364ae90c5d82bbbdc9a9dc6 (patch)
treeb82b7f63991c024e7ac33e093121b8d94e181227 /js/codeq/profile.js
parent08e955335ecb65c308dbc68bf0610dce39ce3623 (diff)
global saml_logout has been disabled. A bug with the saml login timeout has been fixed (if the user entered the saml login screen and went back he would later get the timeout error)
Diffstat (limited to 'js/codeq/profile.js')
-rw-r--r--js/codeq/profile.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/codeq/profile.js b/js/codeq/profile.js
index 36c5ccf..f666697 100644
--- a/js/codeq/profile.js
+++ b/js/codeq/profile.js
@@ -18,6 +18,7 @@
jqBtnGoBack.on('click',function(){
history.back();//forces a transition to the previous state
});
+ if(codeq.samlLogin) $('#loggedInViaSamlSpan').css("display","");//show the span if we actually logged in with SAML
$("#screen_profile").css('display', '');
$('#disabled').css('display', 'none');
codeq.comms.getUserStat()
@@ -64,6 +65,7 @@
jqBtnChangePass.off('click');
jqBtnGoBack.off('click');
$("#screen_profile").css('display', 'none');
+ $('#loggedInViaSamlSpan').css("display","none");
}
});
})(); \ No newline at end of file