controllers: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org] / app / Controller / Github.php
index 7b7bdf64d976547cee05bd7331439cfe6c102a5f..7ec309461ef60fd6ac20e59f5a9f7fb43bdaec32 100644 (file)
@@ -68,6 +68,7 @@ abstract class Github implements Controller
                        return true;
                }
                $this->app->redirect($this->app->getBaseUrl()->mod([
+                       "scheme" => null,
                        "path" => "github/signin",
                        "query" => new QueryString(["returnto" => $this->session->current])
                ]));