aboutsummaryrefslogtreecommitdiffstats
path: root/mod/openid.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-28 20:58:23 -0800
committerFriendika <info@friendika.com>2010-11-28 20:58:23 -0800
commit62bb471ba0bf8d996e4548b835cd23fa3da92696 (patch)
tree55b9839eaad40bf7dac0ddba94c27da7f7dec015 /mod/openid.php
parent34a8fb935d9619c5114981862dfe2949a90f09bb (diff)
downloadvolse-hubzilla-62bb471ba0bf8d996e4548b835cd23fa3da92696.tar.gz
volse-hubzilla-62bb471ba0bf8d996e4548b835cd23fa3da92696.tar.bz2
volse-hubzilla-62bb471ba0bf8d996e4548b835cd23fa3da92696.zip
localise login template, allow openid to be disabled
Diffstat (limited to 'mod/openid.php')
-rw-r--r--mod/openid.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/openid.php b/mod/openid.php
index 94f08c430..84d4bf4bf 100644
--- a/mod/openid.php
+++ b/mod/openid.php
@@ -6,6 +6,10 @@ require_once('library/openid.php');
function openid_content(&$a) {
+ $noid = get_config('system','no_openid');
+ if($noid)
+ goaway($a->get_baseurl());
+
if((x($_GET,'openid_mode')) && (x($_SESSION,'openid'))) {
$openid = new LightOpenID;