aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-29 17:05:17 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-03 13:30:43 +0200
commit359b3f43cc42aa593cdba7dc8e1d6fa121cc3f6a (patch)
treedf971ec01e9f8add70a403a65fdd2e4114373f71 /src/Wallabag/CoreBundle/Resources
parent772732531ea1d0f9831cc5f29e11b6b11fd088f3 (diff)
downloadwallabag-359b3f43cc42aa593cdba7dc8e1d6fa121cc3f6a.tar.gz
wallabag-359b3f43cc42aa593cdba7dc8e1d6fa121cc3f6a.tar.zst
wallabag-359b3f43cc42aa593cdba7dc8e1d6fa121cc3f6a.zip
* rename AuthenticationListener
* add tests
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 96ea482a..f2247260 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -47,7 +47,7 @@ services:
47 - @wallabag_core.graby 47 - @wallabag_core.graby
48 48
49 wallabag_core.registration_confirmed: 49 wallabag_core.registration_confirmed:
50 class: Wallabag\CoreBundle\EventListener\AuthenticationListener 50 class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener
51 arguments: [@service_container, @doctrine.orm.entity_manager] 51 arguments: [@service_container, @doctrine.orm.entity_manager]
52 tags: 52 tags:
53 - { name: kernel.event_subscriber } 53 - { name: kernel.event_subscriber }
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig
index 5437d20c..9a59dfc6 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig
@@ -32,6 +32,7 @@
32 <div class="row mts txtcenter"> 32 <div class="row mts txtcenter">
33 <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" /> 33 <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
34 <button type="submit">Login</button> 34 <button type="submit">Login</button>
35 <a href="{{ path('fos_user_registration_register') }}" class="button">{% trans %}Register{% endtrans %}</a>
35 <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a> 36 <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a>
36 </div> 37 </div>
37 </fieldset> 38 </fieldset>