X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FController%2FGithub%2FSignin.php;h=5f8b6a7709944527d477e9a75b0077796db97875;hb=8b9e6a11bae0db302dd100ce288b07ef7995e372;hp=d753687a3b7928ed739bc4b0bc66dbc54dbbad8b;hpb=8394174c00f15efa4ab367dceb0358f9fbbe1b3b;p=pharext%2Fpharext.org diff --git a/app/Controller/Github/Signin.php b/app/Controller/Github/Signin.php index d753687..5f8b6a7 100644 --- a/app/Controller/Github/Signin.php +++ b/app/Controller/Github/Signin.php @@ -38,13 +38,13 @@ class Signin extends Github if (($returnto = $this->app->getRequest()->getQuery("returnto"))) { $this->app->redirect($returnto); } else { - $this->app->redirect($this->app->getBaseUrl()->mod("./github")); + $this->app->redirect($this->app->getBaseUrl()->mod(":./github")); } return; } } } - $callback = $this->app->getBaseUrl()->mod("./github/callback"); + $callback = $this->app->getBaseUrl()->mod(":./github/callback"); $location = $this->github->getAuthUrl($callback); $this->app->redirect($location); if (($returnto = $this->app->getRequest()->getQuery("returnto"))) {