Commit dd43e563 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch '107-fix-registering-a-new-extension-key' into 'develop'

Changes object method to getter from array

Closes #107

See merge request !126
parents 8a183a81 a4071fdb
Pipeline #1833 passed with stages
in 5 minutes and 35 seconds
......@@ -107,7 +107,7 @@ class RegisterkeyController extends \T3o\TerFe2\Controller\AbstractTerBasedContr
// Create extension model
$extension = $this->objectManager->get(\T3o\TerFe2\Domain\Model\Extension::class);
$extension->setExtKey($extensionKey);
$extension->setFrontendUser($this->frontendUser->getUsername());
$extension->setFrontendUser($this->frontendUser['username']);
$this->extensionRepository->add($extension);
$this->addFlashMessage(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment