-
Notifications
You must be signed in to change notification settings - Fork 3
/
page-authenticate.php
37 lines (34 loc) · 1.08 KB
/
page-authenticate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Template Name: Authenticate
*
* This page template is used to implement a lookup feature that is desired by
* some users. It should be used by one Page on WordPress, and placed on a
* path that is protected by Shibboleth / Touchstone.
*
* The page using this template will have no content - all code is contained in
* this template. It will read the user's username (provided by Shibboleth),
* and use this to request (via curl) a lookup service for additional
* information about the user. Returned data will be set as a cookie in the
* user's browser.
*
* After the cookie has been set, the user is redirected to whatever page sent
* them here. The cookie that is set will then be read to populate various
* form fields for them.
*
* @package MIT_Libraries_Parent
* @since 1.7.0
*/
// I am 99% certain that this template is no longer needed.
get_header();
?>
<div class="loading-container" align="center">
<div class="inner">Loading, please wait . . .
<img class="loading" src="/images/load.gif" alt="Loading..." />
</div>
</div>
<?php
get_footer();
?>
</body>
</html>