aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/WebServer.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-07 17:56:02 -0700
committerzotlabs <mike@macgirvin.com>2017-09-07 17:56:02 -0700
commit61f339a874784d3181f4c884bab9994ec9200f50 (patch)
treebd8236627c98408d3d0c898286e5adc0faf27336 /Zotlabs/Web/WebServer.php
parent23e774db8ea25ba8eb8d8d5d6731622998534bbc (diff)
downloadvolse-hubzilla-61f339a874784d3181f4c884bab9994ec9200f50.tar.gz
volse-hubzilla-61f339a874784d3181f4c884bab9994ec9200f50.tar.bz2
volse-hubzilla-61f339a874784d3181f4c884bab9994ec9200f50.zip
owa - first commit
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r--Zotlabs/Web/WebServer.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php
index a66384c40..8431a2e0e 100644
--- a/Zotlabs/Web/WebServer.php
+++ b/Zotlabs/Web/WebServer.php
@@ -70,6 +70,12 @@ class WebServer {
}
}
+ if((x($_REQUEST,'owt')) && (! \App::$install)) {
+ $token = $_REQUEST['owt'];
+ \App::$query_string = strip_query_param(\App::$query_string,'owt');
+ owt_init($token);
+ }
+
if((x($_SESSION, 'authenticated')) || (x($_POST, 'auth-params')) || (\App::$module === 'login'))
require('include/auth.php');