diff options
author | friendica <info@friendica.com> | 2012-03-19 06:48:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-19 06:48:11 -0700 |
commit | 139a86dbd395f4601b29b9af97ac8ea190cce9f9 (patch) | |
tree | db91bcfa5db7f11bae45f1bc2b622ca540be3eb9 /boot.php | |
parent | 2349852b4abd1638624b541f173f51d1fb1ea011 (diff) | |
download | volse-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-x | boot.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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( |