4
zEscrow: web application for securely escrowing keys
5
- openid/return.html: return page from google openid
7
Copyright (C) 2008-2012 Scot-Irish Lads, LLC
8
Author: Dustin Kirkland <dustin.kirkland@gmail.com>
10
This program is free software: you can redistribute it and/or modify
11
it under the terms of the GNU Affero General Public License as
12
published by the Free Software Foundation, version 3 of the
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU Affero General Public License for more details.
20
You should have received a copy of the GNU Affero General Public License
21
along with this program. If not, see <http://www.gnu.org/licenses/>.
26
require_once("google/GoogleOpenID.html");
27
require_once("../include/functions.html");
28
$googleLogin = GoogleOpenID::getResponse();
29
if($googleLogin->success()){
31
$_SESSION["email"] = $googleLogin->email();
32
if (isset($_SESSION["return"])) {
33
redirect($_SESSION["return"]);