From 3815016f3c44d06850e551f28c990925c77c8877 Mon Sep 17 00:00:00 2001 From: Adam Lavin Date: Sat, 19 Oct 2013 02:37:44 +0000 Subject: [PATCH] Set the redirect uri in constructor --- app/controllers/AuthController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/AuthController.php b/app/controllers/AuthController.php index 6ba6e0c8..bef05124 100644 --- a/app/controllers/AuthController.php +++ b/app/controllers/AuthController.php @@ -7,6 +7,7 @@ public function __construct() { $this->poniverse = new Poniverse(Config::get('poniverse.client_id'), Config::get('poniverse.secret')); + $this->poniverse->setRedirectUri(URL::to('/auth/oauth')); } public function getLogin() {