diff --git a/.gitignore b/.gitignore index a67f91e..c776ddc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /var/ /vendor/ ###< symfony/framework-bundle ### +release.json diff --git a/deploy.php b/deploy.php index fa4513c..f96a57b 100644 --- a/deploy.php +++ b/deploy.php @@ -24,7 +24,7 @@ set('allow_anonymous_stats', false); host('snips.loken.nl') ->setRemoteUser('www-data') ->set('branch', function () { - return input()->getOption('branch') ?: 'develop'; + return input()->getOption('branch') ?: 'main'; }) ->set('deploy_path', '~/snips.loken.nl'); diff --git a/templates/base/navbar.html.twig b/templates/base/navbar.html.twig index 84de309..4f4b080 100644 --- a/templates/base/navbar.html.twig +++ b/templates/base/navbar.html.twig @@ -11,9 +11,15 @@ - + + {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} + + + {% endif %}