diff --git a/src/EventSubscriber/StanfordSSPEventSubscriber.php b/src/EventSubscriber/StanfordSSPEventSubscriber.php index 8d1ab38..4ff7fad 100644 --- a/src/EventSubscriber/StanfordSSPEventSubscriber.php +++ b/src/EventSubscriber/StanfordSSPEventSubscriber.php @@ -77,7 +77,7 @@ public function requestHandler(RequestEvent $event) { $request->attributes->get('_route') == 'user.admin_create' && $this->stanfordConfig->get('hide_local_login') ) { - $destination = Url::fromRoute('stanford_ssp.add_user')->toString(); + $destination = Url::fromRoute('stanford_ssp.create_user')->toString(); $event->setResponse(new RedirectResponse($destination)); } }