summaryrefslogtreecommitdiff
path: root/js/codeq/login.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/login.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/login.js')
-rw-r--r--js/codeq/login.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/codeq/login.js b/js/codeq/login.js
index db90b43..b2c39dd 100644
--- a/js/codeq/login.js
+++ b/js/codeq/login.js
@@ -43,7 +43,6 @@
};
var loginFun = function(){
- $('.saml-login-hide').css('display','');//if we login the normal way we want to show the change password buttons. if we enter the saml login they will be hidden
jqDisabled.css('display', '');
jqDisabled.css('cursor', 'wait');
codeq.comms.connect()
@@ -68,6 +67,9 @@
jqNavBarRight.css('display','none');//hide settings etc.
$('#signed-in-title').html('');
+ codeq.samlLogin = false;//remove saml login flag
+ $('.saml-login-hide').css('display','');//if we login the normal way we want to show the change password buttons. if we enter the saml login they will be hidden
+
//setup the signup button
jqSignupBtn.on('click', function(e){
codeq.globalStateMachine.transition('signup');