Browse Source

use base URL from config for creating redirect URL

pull/9/head
Aaron Parecki 8 years ago
parent
commit
ede0a8bc8b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/Auth.php

+ 1
- 1
controllers/Auth.php View File

@ -156,7 +156,7 @@ class Auth {
}
private static function _buildRedirectURI() {
return 'http' . (Config::$ssl ? 's' : '') . '://' . $_SERVER['SERVER_NAME'] . '/login/callback';
return Config::$base . 'login/callback';
}
}

Loading…
Cancel
Save