diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 2b95446c..bb6e1e78 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -84,6 +84,9 @@ public function __construct(array $urlParams = array()) { public function boot() { $this->getContainer()->query('UserHooks')->register(); $request = $this->getContainer()->getServer()->getRequest(); + if ($request->getMethod() !== 'GET') { + return; + } $redirectUrl = $request->getParam('redirect_url'); if ($redirectUrl === null) { return;