Last active
January 24, 2017 00:39
-
-
Save josephdpurcell/6e51b23fe4ed2608b0bd50d87df22195 to your computer and use it in GitHub Desktop.
Remove the autoloader from the Auth0 module for use in Drupal 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Controller/AuthController.php b/src/Controller/AuthController.php | |
index a73dbf2..e074e7e 100644 | |
--- a/src/Controller/AuthController.php | |
+++ b/src/Controller/AuthController.php | |
@@ -6,8 +6,6 @@ | |
namespace Drupal\auth0\Controller; | |
-require_once (AUTH0_PATH . '/vendor/autoload.php'); | |
- | |
use Drupal\Core\Controller\ControllerBase; | |
use Drupal\Core\Url; | |
use Drupal\user\Entity\User; | |
@@ -406,4 +404,4 @@ class AuthController extends ControllerBase { | |
return new RedirectResponse('/'); | |
} | |
-} | |
\ No newline at end of file | |
+} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment