aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-09 12:44:14 +0000
committerMario <mario@mariovavti.com>2020-10-09 12:44:14 +0000
commit1e2d5b0c779b8f3a623d4757a8e1a64e67491fb0 (patch)
tree0d835cec54b12dbc141d58be17b31b09abe654a4 /Zotlabs/Web
parent1215618589636fd433d69fa5d81f2aca264beef5 (diff)
downloadvolse-hubzilla-1e2d5b0c779b8f3a623d4757a8e1a64e67491fb0.tar.gz
volse-hubzilla-1e2d5b0c779b8f3a623d4757a8e1a64e67491fb0.tar.bz2
volse-hubzilla-1e2d5b0c779b8f3a623d4757a8e1a64e67491fb0.zip
only call zid_init() if session is not yet authenticated
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/WebServer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php
index 909823ec4..ac792dd69 100644
--- a/Zotlabs/Web/WebServer.php
+++ b/Zotlabs/Web/WebServer.php
@@ -62,7 +62,8 @@ class WebServer {
$_SESSION['my_address'] = $_GET['zid'];
$_SESSION['authenticated'] = 0;
}
- zid_init();
+ if(! $_SESSION['authenticated'])
+ zid_init();
}
}