diff --git a/src/Service/SnipService.php b/src/Service/SnipService.php index f19f39f..9250d09 100644 --- a/src/Service/SnipService.php +++ b/src/Service/SnipService.php @@ -19,7 +19,6 @@ class SnipService { $git = new Git(); $repoPath = sprintf('%s/%s', $snipBasePath, $snip->getId()); - dump($repoPath, $snip); if (!is_dir($repoPath)) { $this->repo = $git->init($repoPath); } else { @@ -39,7 +38,6 @@ class SnipService public function update(string $snipContents): void { - dump($this->getSnipPath()); file_put_contents($this->getSnipPath(), $snipContents); $this->repo->addFile('snip.txt'); if ($this->repo->hasChanges()) { diff --git a/templates/security/register.html.twig b/templates/security/register.html.twig index 0036da8..002321e 100644 --- a/templates/security/register.html.twig +++ b/templates/security/register.html.twig @@ -1,5 +1,7 @@ {% extends 'base/base.html.twig' %} +{% block title %}Register{% endblock %} + {% block body %}
{{ content }}
+{{ content|nl2br }}