Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Guillaume Rousse
SWITCHwayf
Commits
a22a75b9
Commit
a22a75b9
authored
Dec 05, 2012
by
haemmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented #2360
parent
629a3908
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
templates.php
templates.php
+2
-8
No files found.
templates.php
View file @
a22a75b9
...
@@ -629,14 +629,8 @@ function isUserLoggedIn(){
...
@@ -629,14 +629,8 @@ function isUserLoggedIn(){
return wayf_check_login_state_function();
return wayf_check_login_state_function();
} else {
} else {
// Check if Shibboleth session cookie exists
// Check Shibboleth session handler
var shibSessionCookieExists = isCookie('shibsession');
return isShibbolethSession(wayf_sp_handlerURL + '/Session');
// Check if Shibboleth session handler
var shibSessionHandlerShowsSession = isShibbolethSession(wayf_sp_handlerURL + '/Session');
// Return true if one of these checks is succsesful
return (shibSessionCookieExists || shibSessionHandlerShowsSession);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment