diff options
author | Mario <mario@mariovavti.com> | 2020-10-09 12:44:14 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-09 12:44:14 +0000 |
commit | 1e2d5b0c779b8f3a623d4757a8e1a64e67491fb0 (patch) | |
tree | 0d835cec54b12dbc141d58be17b31b09abe654a4 /Zotlabs | |
parent | 1215618589636fd433d69fa5d81f2aca264beef5 (diff) | |
download | volse-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')
-rw-r--r-- | Zotlabs/Web/WebServer.php | 3 |
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(); } } |