Commit c3f52c91 authored by Leigh Stoller's avatar Leigh Stoller

Add wrapper to aptui/geni-login.php, to be used on the backend clusters

to let people login using the trusted signer.
parent 882bf6f6
<?php
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
# This file is part of the Emulab network testbed software.
#
# This file is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This file is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
# License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this file. If not, see <http://www.gnu.org/licenses/>.
#
# }}}
#
include("defs.php3");
#
# Only known and logged in users can do this.
#
$this_user = CheckLogin($check_status);
if ($CHECKLOGIN_STATUS & CHECKLOGIN_LOGGEDIN) {
SPITUSERERROR("You are already logged in!");
}
#
# Standard Testbed Header
#
PAGEHEADER("Geni User Login");
echo "<iframe src='apt/geni-login.php?embedded=1'
id='embedded' class='embedded'></iframe>";
$bodyclosestring =
"<script type='text/javascript'>ShowEmbedded('embedded')</script>\n";
#
# Standard Testbed Footer
#
PAGEFOOTER();
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment