controllers: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org] / app / Controller / Github / Callback.php
index fcd814f8995388ce93d663126794c1eb41107319..bd8c0e5abe6dc7f281aa894174f42bee95c194f0 100644 (file)
@@ -35,7 +35,7 @@ class Callback extends Github
                                $this->app->redirect($returnto);
                        } else {
                                $this->app->redirect(
-                                       $this->app->getBaseUrl()->mod("./github"));
+                                       $this->app->getBaseUrl()->mod(":./github"));
                        }
                }
                $this->app->display("github/callback");