aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-19 06:48:11 -0700
committerfriendica <info@friendica.com>2012-03-19 06:48:11 -0700
commit139a86dbd395f4601b29b9af97ac8ea190cce9f9 (patch)
treedb91bcfa5db7f11bae45f1bc2b622ca540be3eb9 /boot.php
parent2349852b4abd1638624b541f173f51d1fb1ea011 (diff)
downloadvolse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.tar.gz
volse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.tar.bz2
volse-hubzilla-139a86dbd395f4601b29b9af97ac8ea190cce9f9.zip
some openid fixes, use identity url from openid server and normalise it.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index d5feaed2d..9779bb9a8 100755
--- a/boot.php
+++ b/boot.php
@@ -713,15 +713,16 @@ function login($register = false, $hiddens=false) {
$noid = get_config('system','no_openid');
+ $dest_url = $a->get_baseurl(true) . '/' . $a->query_string;
+
if(local_user()) {
$tpl = get_markup_template("logout.tpl");
}
else {
$tpl = get_markup_template("login.tpl");
-
+ $_SESSION['return_url'] = $a->query_string;
}
- $dest_url = $a->get_baseurl(true) . '/' . $a->query_string;
$o .= replace_macros($tpl,array(