Set the redirect uri in constructor

This commit is contained in:
Adam Lavin 2013-10-19 02:37:44 +00:00
parent 2c19d4fcc0
commit 3815016f3c

View file

@ -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() {